home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Presen…tion Library 4 (Reseller) / Apple Ref. & Pres. Lib.v4.0.iso / 1-Reference / Success Stories / Stories < prev    next >
MacBinary  |  1990-05-16  |  341.1 KB  |  [STAK/WILD]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: Stories

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) idMeta Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Fri Jun 2 06:24:28 1989, modified Wed May 16 11:53:00 1990, creator HyperCard, type HyperCard stack, 295168 bytes "Stories" , at 0x48180 53982 bytes resource default (weak)
99% file data default
74% TrID Mac HyperCard stack (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% lsar MacBinary default


id metadata
keyvalue
macFileType[STAK]
macFileCreator[WILD]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 07 53 74 6f 72 69 65 | 73 00 00 00 00 00 00 00 |..Storie|s.......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 04 81 00 00 | 00 d2 de a0 ac 10 dc a2 |........|........|
|00000060| 77 27 dc 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |w'......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 be 30 00 00 |........|.....0..|
|00000080| 00 00 76 00 53 54 41 4b | ff ff ff ff 96 85 dc 64 |..v.STAK|.......d|
|00000090| 00 00 00 08 00 04 81 00 | 00 00 76 00 00 00 00 00 |........|..v.....|
|000000a0| 00 00 00 0b 00 00 00 01 | 00 00 0a 4a 00 00 00 31 |........|...J...1|
|000000b0| 00 00 16 64 00 00 15 88 | 00 00 00 00 00 00 00 00 |...d....|........|
|000000c0| 00 00 0d 87 00 00 00 00 | 00 05 00 00 10 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 01 22 80 00 01 22 80 00 | 01 22 80 00 01 22 80 00 |."..."..|."..."..|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| aa 00 aa 00 aa 00 aa 00 | 88 00 00 00 88 00 00 00 |........|........|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000690| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000006a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000006b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000006c0| 2d 2d 2d 2d 2d 2d 2d 2d | 0d 2d 2d 20 20 20 20 20 |--------|.-- |
|000006d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000006e0| 20 20 20 20 20 20 20 53 | 74 61 63 6b 3a 20 53 74 | S|tack: St|
|000006f0| 6f 72 69 65 73 20 20 20 | 20 20 20 20 20 20 20 20 |ories | |
|00000700| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 2d | | -|
|00000710| 2d 0d 2d 2d 20 20 20 20 | 20 20 20 20 20 20 20 20 |-.-- | |
|00000720| 20 20 20 20 20 20 20 20 | a9 20 31 39 38 39 20 41 | |. 1989 A|
|00000730| 70 70 6c 65 20 43 6f 6d | 70 75 74 65 72 2c 20 49 |pple Com|puter, I|
|00000740| 6e 63 2e 20 26 20 20 20 | 20 20 20 20 20 20 20 20 |nc. & | |
|00000750| 20 20 20 20 20 20 20 20 | 2d 2d 0d 2d 2d 20 20 20 | |--.-- |
|00000760| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000770| 20 20 20 20 a9 31 39 39 | 30 20 4d 65 64 69 6f 72 | .199|0 Medior|
|00000780| 20 50 72 6f 64 75 63 74 | 69 6f 6e 73 20 20 20 20 | Product|ions |
|00000790| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000007a0| 20 2d 2d 0d 2d 2d 20 20 | 20 20 20 20 20 20 20 20 | --.-- | |
|000007b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000007c0| 20 20 a9 31 39 38 39 20 | 48 79 70 65 72 50 72 6f | .1989 |HyperPro|
|000007d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000007e0| 20 20 20 20 20 20 20 20 | 20 20 2d 2d 0d 2d 2d 20 | | --.-- |
|000007f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000800| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000810| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000820| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000830| 20 20 20 2d 2d 0d 2d 2d | 20 20 20 20 20 20 20 20 | --.--| |
|00000840| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000850| 20 20 20 20 33 2f 38 2f | 39 30 20 34 3a 30 31 20 | 3/8/|90 4:01 |
|00000860| 50 4d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |PM | |
|00000870| 20 20 20 20 20 20 20 20 | 20 20 20 20 2d 2d 0d 2d | | --.-|
|00000880| 2d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |- | |
|00000890| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 56 65 | | Ve|
|000008a0| 72 73 69 6f 6e 3a 20 31 | 2e 31 20 20 20 20 20 20 |rsion: 1|.1 |
|000008b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000008c0| 20 20 20 20 20 2d 2d 0d | 2d 2d 20 20 20 20 20 20 | --.|-- |
|000008d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 42 61 73 | | Bas|
|000008e0| 65 64 20 6f 6e 20 76 65 | 72 73 69 6f 6e 20 31 2e |ed on ve|rsion 1.|
|000008f0| 30 66 37 2e 33 20 62 79 | 20 48 79 70 65 72 50 72 |0f7.3 by| HyperPr|
|00000900| 6f 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |o | |
|00000910| 2d 2d 0d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--.-----|--------|
|00000920| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000930| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000940| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000950| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0d 0d 2d 2d 20 |--------|---..-- |
|00000960| 58 43 4d 44 73 20 74 6f | 20 66 6f 6c 6c 6f 77 3a |XCMDs to| follow:|
|00000970| 0d 2d 2d 20 23 20 20 35 | 31 30 30 20 20 20 20 50 |.-- # 5|100 P|
|00000980| 72 69 6e 74 44 6f 63 0d | 0d 2d 2d 20 58 46 43 4e |rintDoc.|.-- XFCN|
|00000990| 73 20 74 6f 20 66 6f 6c | 6c 6f 77 3a 0d 2d 2d 20 |s to fol|low:.-- |
|000009a0| 23 20 20 34 30 30 31 20 | 20 20 20 46 69 6c 65 4e |# 4001 | FileN|
|000009b0| 61 6d 65 0d 2d 2d 20 23 | 20 20 35 31 30 30 20 20 |ame.-- #| 5100 |
|000009c0| 20 20 4c 69 6e 65 73 54 | 6f 49 74 65 6d 73 0d 0d | LinesT|oItems..|
|000009d0| 58 43 4d 44 3a 20 50 72 | 69 6e 74 44 6f 63 20 2d |XCMD: Pr|intDoc -|
|000009e0| 2d 20 62 79 20 4a 61 79 | 20 48 6f 64 67 64 6f 6e |- by Jay| Hodgdon|
|000009f0| 20 2d 20 55 73 65 64 20 | 62 79 20 70 65 72 6d 69 | - Used |by permi|
|00000a00| 73 73 69 6f 6e 0d 0d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |ssion..-|--------|
|00000a10| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000a20| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000a30| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000a40| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 0d |--------|-------.|
|00000a50| 0d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |.-------|--------|
|00000a60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000a70| 2d 2d 20 64 6f 6d 65 6e | 75 20 2d 2d 2d 2d 2d 2d |-- domen|u ------|
|00000a80| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000a90| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 0d 0d 6f 6e 20 64 6f |--------|-..on do|
|00000aa0| 6d 65 6e 75 20 6d 65 6e | 75 20 20 20 20 20 20 20 |menu men|u |
|00000ab0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000ac0| 2d 2d 2f 2f 20 41 64 64 | 65 64 20 62 79 20 4d 65 |--// Add|ed by Me|
|00000ad0| 64 69 6f 72 2c 20 49 6e | 63 2e 20 32 2f 32 30 2f |dior, In|c. 2/20/|
|00000ae0| 39 30 0d 67 6c 6f 62 61 | 6c 20 52 50 53 74 61 63 |90.globa|l RPStac|
|00000af0| 6b 4e 61 6d 65 0d 69 66 | 20 6d 65 6e 75 20 69 73 |kName.if| menu is|
|00000b00| 20 69 6e 20 22 48 6f 6d | 65 2c 51 75 69 74 20 48 | in "Hom|e,Quit H|
|00000b10| 79 70 65 72 43 61 72 64 | 22 20 61 6e 64 20 52 50 |yperCard|" and RP|
|00000b20| 53 74 61 63 6b 4e 61 6d | 65 20 69 73 20 6e 6f 74 |StackNam|e is not|
|00000b30| 20 65 6d 70 74 79 20 74 | 68 65 6e 0d 73 65 74 20 | empty t|hen.set |
|00000b40| 63 75 72 73 6f 72 20 74 | 6f 20 77 61 74 63 68 0d |cursor t|o watch.|
|00000b50| 70 75 74 20 52 50 53 74 | 61 63 6b 4e 61 6d 65 20 |put RPSt|ackName |
|00000b60| 69 6e 74 6f 20 73 68 6f | 72 74 6e 61 6d 65 0d 72 |into sho|rtname.r|
|00000b70| 65 70 65 61 74 20 75 6e | 74 69 6c 20 6f 66 66 73 |epeat un|til offs|
|00000b80| 65 74 28 22 3a 22 2c 73 | 68 6f 72 74 6e 61 6d 65 |et(":",s|hortname|
|00000b90| 29 20 3d 20 30 0d 64 65 | 6c 65 74 65 20 63 68 61 |) = 0.de|lete cha|
|00000ba0| 72 20 31 20 74 6f 20 6f | 66 66 73 65 74 28 22 3a |r 1 to o|ffset(":|
|00000bb0| 22 2c 73 68 6f 72 74 6e | 61 6d 65 29 20 6f 66 20 |",shortn|ame) of |
|00000bc0| 73 68 6f 72 74 6e 61 6d | 65 0d 65 6e 64 20 72 65 |shortnam|e.end re|
|00000bd0| 70 65 61 74 0d 64 65 6c | 65 74 65 20 6c 61 73 74 |peat.del|ete last|
|00000be0| 20 63 68 61 72 20 6f 66 | 20 73 68 6f 72 74 6e 61 | char of| shortna|
|00000bf0| 6d 65 0d 61 6e 73 77 65 | 72 20 22 54 68 69 73 20 |me.answe|r "This |
|00000c00| 77 69 6c 6c 20 72 65 74 | 75 72 6e 20 74 6f 20 22 |will ret|urn to "|
|00000c10| 26 73 68 6f 72 74 6e 61 | 6d 65 26 22 2e 22 20 77 |&shortna|me&"." w|
|00000c20| 69 74 68 20 22 43 61 6e | 63 65 6c 22 20 6f 72 20 |ith "Can|cel" or |
|00000c30| 22 4f 4b 22 0d 69 66 20 | 69 74 20 69 73 20 22 43 |"OK".if |it is "C|
|00000c40| 61 6e 63 65 6c 22 20 74 | 68 65 6e 20 65 78 69 74 |ancel" t|hen exit|
|00000c50| 20 64 6f 6d 65 6e 75 0d | 73 65 74 20 63 75 72 73 | domenu.|set curs|
|00000c60| 6f 72 20 74 6f 20 77 61 | 74 63 68 0d 6c 6f 63 6b |or to wa|tch.lock|
|00000c70| 20 73 63 72 65 65 6e 0d | 67 6f 20 52 50 53 74 61 | screen.|go RPSta|
|00000c80| 63 6b 4e 61 6d 65 0d 75 | 6e 6c 6f 63 6b 20 73 63 |ckName.u|nlock sc|
|00000c90| 72 65 65 6e 20 77 69 74 | 68 20 64 69 73 73 6f 6c |reen wit|h dissol|
|00000ca0| 76 65 0d 65 78 69 74 20 | 64 6f 6d 65 6e 75 0d 65 |ve.exit |domenu.e|
|00000cb0| 6c 73 65 20 70 61 73 73 | 20 64 6f 4d 65 6e 75 0d |lse pass| doMenu.|
|00000cc0| 65 6e 64 20 64 6f 6d 65 | 6e 75 0d 0d 0d 2d 2d 2d |end dome|nu...---|
|00000cd0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000ce0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000cf0| 20 67 6f 20 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d | go ----|--------|
|00000d00| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000d10| 2d 2d 2d 2d 2d 0d 0d 6f | 6e 20 67 6f 0d 73 65 74 |-----..o|n go.set|
|00000d20| 20 63 75 72 73 6f 72 20 | 74 6f 20 77 61 74 63 68 | cursor |to watch|
|00000d30| 0d 70 61 73 73 20 67 6f | 0d 65 6e 64 20 67 6f 0d |.pass go|.end go.|
|00000d40| 0d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |.-------|--------|
|00000d50| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000d60| 2d 20 66 69 6e 64 4e 65 | 78 74 20 2d 2d 2d 2d 2d |- findNe|xt -----|
|00000d70| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000d80| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 0d 0d 6f 6e 20 66 69 |--------|-..on fi|
|00000d90| 6e 64 4e 65 78 74 0d 67 | 6c 6f 62 61 6c 20 73 65 |ndNext.g|lobal se|
|00000da0| 61 72 63 68 4c 69 73 74 | 2c 73 65 61 72 63 68 53 |archList|,searchS|
|00000db0| 74 72 69 6e 67 2c 6c 61 | 73 74 48 69 74 2c 66 6f |tring,la|stHit,fo|
|00000dc0| 75 6e 64 46 69 65 6c 64 | 0d 0d 73 65 74 20 76 69 |undField|..set vi|
|00000dd0| 73 69 62 6c 65 20 6f 66 | 20 62 67 20 62 74 6e 20 |sible of| bg btn |
|00000de0| 22 46 69 6e 64 20 4e 65 | 78 74 22 20 74 6f 20 74 |"Find Ne|xt" to t|
|00000df0| 72 75 65 0d 69 66 20 73 | 65 61 72 63 68 4c 69 73 |rue.if s|earchLis|
|00000e00| 74 20 69 73 20 22 74 65 | 78 74 22 20 74 68 65 6e |t is "te|xt" then|
|00000e10| 20 46 69 6e 64 54 65 78 | 74 c2 0d 65 6c 73 65 20 | FindTex|t..else |
|00000e20| 69 66 20 73 65 61 72 63 | 68 4c 69 73 74 20 69 73 |if searc|hList is|
|00000e30| 20 22 6d 75 6c 74 69 70 | 6c 65 22 20 74 68 65 6e | "multip|le" then|
|00000e40| 20 46 69 6e 64 4d 75 6c | 74 69 70 6c 65 c2 0d 65 | FindMul|tiple..e|
|00000e50| 6c 73 65 20 46 69 6e 64 | 4f 74 68 65 72 0d 65 6e |lse Find|Other.en|
|00000e60| 64 20 66 69 6e 64 4e 65 | 78 74 0d 0d 2d 2d 2d 2d |d findNe|xt..----|
|00000e70| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000e80| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 20 66 69 6e 64 4d |--------|-- findM|
|00000e90| 75 6c 74 69 70 6c 65 20 | 2d 2d 2d 2d 2d 2d 2d 2d |ultiple |--------|
|00000ea0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000eb0| 2d 2d 2d 2d 0d 0d 6f 6e | 20 66 69 6e 64 4d 75 6c |----..on| findMul|
|00000ec0| 74 69 70 6c 65 0d 67 6c | 6f 62 61 6c 20 73 65 61 |tiple.gl|obal sea|
|00000ed0| 72 63 68 4c 69 73 74 2c | 73 65 61 72 63 68 53 74 |rchList,|searchSt|
|00000ee0| 72 69 6e 67 2c 67 46 69 | 72 73 74 48 69 74 2c 4c |ring,gFi|rstHit,L|
|00000ef0| 61 73 74 48 69 74 2c 66 | 6f 75 6e 64 46 69 65 6c |astHit,f|oundFiel|
|00000f00| 64 0d 0d 49 66 20 67 46 | 69 72 73 74 48 69 74 20 |d..If gF|irstHit |
|00000f10| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 20 70 75 |is empty| then pu|
|00000f20| 74 20 30 20 69 6e 74 6f | 20 6c 61 73 74 48 69 74 |t 0 into| lastHit|
|00000f30| 0d 70 75 74 20 66 61 6c | 73 65 20 69 6e 74 6f 20 |.put fal|se into |
|00000f40| 68 69 74 46 6c 61 67 0d | 72 65 70 65 61 74 20 77 |hitFlag.|repeat w|
|00000f50| 69 74 68 20 63 75 72 72 | 43 61 72 64 20 3d 20 6c |ith curr|Card = l|
|00000f60| 61 73 74 48 69 74 20 2b | 20 31 20 74 6f 20 28 6e |astHit +| 1 to (n|
|00000f70| 75 6d 62 65 72 20 6f 66 | 20 63 64 73 29 0d 72 65 |umber of| cds).re|
|00000f80| 70 65 61 74 20 77 69 74 | 68 20 43 75 72 72 43 72 |peat wit|h CurrCr|
|00000f90| 69 74 20 3d 20 31 20 74 | 6f 20 6e 75 6d 62 65 72 |it = 1 t|o number|
|00000fa0| 20 6f 66 20 6c 69 6e 65 | 73 20 6f 66 20 73 65 61 | of line|s of sea|
|00000fb0| 72 63 68 53 74 72 69 6e | 67 0d 70 75 74 20 6c 69 |rchStrin|g.put li|
|00000fc0| 6e 65 20 43 75 72 72 43 | 72 69 74 20 6f 66 20 73 |ne CurrC|rit of s|
|00000fd0| 65 61 72 63 68 53 74 72 | 69 6e 67 20 69 6e 74 6f |earchStr|ing into|
|00000fe0| 20 74 68 65 43 72 69 74 | 0d 70 75 74 20 69 74 65 | theCrit|.put ite|
|00000ff0| 6d 20 31 20 6f 66 20 74 | 68 65 43 72 69 74 20 69 |m 1 of t|heCrit i|
|00001000| 6e 74 6f 20 73 65 61 72 | 63 68 46 69 65 6c 64 0d |nto sear|chField.|
|00001010| 70 75 74 20 66 61 6c 73 | 65 20 69 6e 74 6f 20 68 |put fals|e into h|
|00001020| 69 74 46 6c 61 67 0d 70 | 75 74 20 28 66 6c 64 20 |itFlag.p|ut (fld |
|00001030| 73 65 61 72 63 68 46 69 | 65 6c 64 20 6f 66 20 63 |searchFi|eld of c|
|00001040| 64 20 63 75 72 72 43 61 | 72 64 29 20 69 6e 74 6f |d currCa|rd) into|
|00001050| 20 63 6f 6e 74 65 6e 74 | 73 0d 72 65 70 65 61 74 | content|s.repeat|
|00001060| 20 77 69 74 68 20 69 20 | 3d 20 32 20 74 6f 20 6e | with i |= 2 to n|
|00001070| 75 6d 62 65 72 20 6f 66 | 20 69 74 65 6d 73 20 6f |umber of| items o|
|00001080| 66 20 74 68 65 43 72 69 | 74 0d 73 65 74 20 63 75 |f theCri|t.set cu|
|00001090| 72 73 6f 72 20 74 6f 20 | 62 75 73 79 0d 69 66 20 |rsor to |busy.if |
|000010a0| 73 65 61 72 63 68 46 69 | 65 6c 64 20 69 73 20 22 |searchFi|eld is "|
|000010b0| 6e 75 6d 62 65 72 20 6f | 66 20 6d 61 63 73 22 20 |number o|f macs" |
|000010c0| 74 68 65 6e 0d 69 66 20 | 63 6f 6e 74 65 6e 74 73 |then.if |contents|
|000010d0| 20 69 73 20 28 69 74 65 | 6d 20 69 20 6f 66 20 74 | is (ite|m i of t|
|000010e0| 68 65 43 72 69 74 29 20 | 74 68 65 6e 0d 70 75 74 |heCrit) |then.put|
|000010f0| 20 74 72 75 65 20 69 6e | 74 6f 20 48 69 74 46 6c | true in|to HitFl|
|00001100| 61 67 0d 65 6e 64 20 69 | 66 0d 65 6c 73 65 20 69 |ag.end i|f.else i|
|00001110| 66 20 73 65 61 72 63 68 | 46 69 65 6c 64 20 69 73 |f search|Field is|
|00001120| 20 22 6c 6f 63 61 74 69 | 6f 6e 22 20 74 68 65 6e | "locati|on" then|
|00001130| 0d 69 66 20 66 69 72 73 | 74 20 77 6f 72 64 20 6f |.if firs|t word o|
|00001140| 66 20 69 74 65 6d 20 32 | 20 6f 66 20 63 6f 6e 74 |f item 2| of cont|
|00001150| 65 6e 74 73 c2 0d 69 73 | 20 28 69 74 65 6d 20 69 |ents..is| (item i|
|00001160| 20 6f 66 20 74 68 65 43 | 72 69 74 29 20 74 68 65 | of theC|rit) the|
|00001170| 6e 0d 70 75 74 20 74 72 | 75 65 20 69 6e 74 6f 20 |n.put tr|ue into |
|00001180| 48 69 74 46 6c 61 67 0d | 65 6e 64 20 69 66 0d 65 |HitFlag.|end if.e|
|00001190| 6c 73 65 0d 69 66 20 63 | 6f 6e 74 65 6e 74 73 20 |lse.if c|ontents |
|000011a0| 63 6f 6e 74 61 69 6e 73 | 20 28 69 74 65 6d 20 69 |contains| (item i|
|000011b0| 20 6f 66 20 74 68 65 43 | 72 69 74 29 20 74 68 65 | of theC|rit) the|
|000011c0| 6e 20 70 75 74 20 74 72 | 75 65 20 69 6e 74 6f 20 |n put tr|ue into |
|000011d0| 48 69 74 46 6c 61 67 0d | 65 6e 64 20 69 66 0d 69 |HitFlag.|end if.i|
|000011e0| 66 20 68 69 74 46 6c 61 | 67 20 74 68 65 6e 20 65 |f hitFla|g then e|
|000011f0| 78 69 74 20 72 65 70 65 | 61 74 0d 65 6e 64 20 72 |xit repe|at.end r|
|00001200| 65 70 65 61 74 0d 69 66 | 20 6e 6f 74 20 68 69 74 |epeat.if| not hit|
|00001210| 46 6c 61 67 20 74 68 65 | 6e 20 65 78 69 74 20 72 |Flag the|n exit r|
|00001220| 65 70 65 61 74 0d 65 6e | 64 20 72 65 70 65 61 74 |epeat.en|d repeat|
|00001230| 0d 69 66 20 68 69 74 46 | 6c 61 67 20 74 68 65 6e |.if hitF|lag then|
|00001240| 20 65 78 69 74 20 72 65 | 70 65 61 74 0d 65 6e 64 | exit re|peat.end|
|00001250| 20 72 65 70 65 61 74 0d | 69 66 20 68 69 74 46 6c | repeat.|if hitFl|
|00001260| 61 67 20 74 68 65 6e 0d | 70 75 74 20 63 75 72 72 |ag then.|put curr|
|00001270| 43 61 72 64 20 69 6e 74 | 6f 20 6c 61 73 74 48 69 |Card int|o lastHi|
|00001280| 74 0d 69 66 20 67 46 69 | 72 73 74 48 69 74 20 69 |t.if gFi|rstHit i|
|00001290| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 20 70 75 74 |s empty |then put|
|000012a0| 20 63 75 72 72 43 61 72 | 64 20 69 6e 74 6f 20 67 | currCar|d into g|
|000012b0| 46 69 72 73 74 48 69 74 | 0d 73 65 74 20 6c 6f 63 |FirstHit|.set loc|
|000012c0| 6b 6d 65 73 73 61 67 65 | 73 20 74 6f 20 66 61 6c |kmessage|s to fal|
|000012d0| 73 65 0d 67 6f 20 63 64 | 20 63 75 72 72 43 61 72 |se.go cd| currCar|
|000012e0| 64 0d 73 65 74 20 76 69 | 73 69 62 6c 65 20 6f 66 |d.set vi|sible of|
|000012f0| 20 62 67 20 62 74 6e 20 | 22 46 69 6e 64 20 4e 65 | bg btn |"Find Ne|
|00001300| 78 74 22 20 74 6f 20 54 | 52 55 45 0d 65 78 69 74 |xt" to T|RUE.exit|
|00001310| 20 66 69 6e 64 4d 75 6c | 74 69 70 6c 65 0d 65 6c | findMul|tiple.el|
|00001320| 73 65 0d 69 66 20 67 46 | 69 72 73 74 48 69 74 20 |se.if gF|irstHit |
|00001330| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 0d 67 6f |is empty| then.go|
|00001340| 20 63 64 20 22 53 65 61 | 72 63 68 69 6e 67 20 43 | cd "Sea|rching C|
|00001350| 65 6e 74 72 61 6c 22 20 | 6f 66 20 22 53 75 63 63 |entral" |of "Succ|
|00001360| 65 73 73 20 53 74 6f 72 | 69 65 73 22 0d 69 66 20 |ess Stor|ies".if |
|00001370| 73 65 61 72 63 68 4c 69 | 73 74 20 69 73 20 22 6d |searchLi|st is "m|
|00001380| 75 6c 74 69 70 6c 65 22 | c2 0d 74 68 65 6e 20 73 |ultiple"|..then s|
|00001390| 65 6e 64 20 6d 6f 75 73 | 65 75 70 20 74 6f 20 62 |end mous|eup to b|
|000013a0| 74 6e 20 22 4d 75 6c 74 | 69 70 6c 65 20 53 65 61 |tn "Mult|iple Sea|
|000013b0| 72 63 68 22 0d 62 65 65 | 70 0d 61 6e 73 77 65 72 |rch".bee|p.answer|
|000013c0| 20 22 4e 6f 20 6d 61 74 | 63 68 20 66 6f 75 6e 64 | "No mat|ch found|
|000013d0| 2e 22 0d 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 |.".put e|mpty int|
|000013e0| 6f 20 73 65 61 72 63 68 | 53 74 72 69 6e 67 0d 65 |o search|String.e|
|000013f0| 78 69 74 20 66 69 6e 64 | 4d 75 6c 74 69 70 6c 65 |xit find|Multiple|
|00001400| 0d 65 6c 73 65 0d 69 66 | 20 63 6f 6e 74 69 6e 75 |.else.if| continu|
|00001410| 65 46 69 6e 64 28 29 20 | 74 68 65 6e 0d 67 6f 20 |eFind() |then.go |
|00001420| 63 64 20 67 46 69 72 73 | 74 48 69 74 0d 70 75 74 |cd gFirs|tHit.put|
|00001430| 20 67 46 69 72 73 74 48 | 69 74 20 69 6e 74 6f 20 | gFirstH|it into |
|00001440| 6c 61 73 74 48 69 74 0d | 73 65 74 20 76 69 73 69 |lastHit.|set visi|
|00001450| 62 6c 65 20 6f 66 20 62 | 67 20 62 74 6e 20 22 46 |ble of b|g btn "F|
|00001460| 69 6e 64 20 4e 65 78 74 | 22 20 74 6f 20 54 52 55 |ind Next|" to TRU|
|00001470| 45 0d 65 6e 64 20 69 66 | 0d 65 78 69 74 20 66 69 |E.end if|.exit fi|
|00001480| 6e 64 4d 75 6c 74 69 70 | 6c 65 0d 65 6e 64 20 69 |ndMultip|le.end i|
|00001490| 66 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 66 69 6e |f.end if|.end fin|
|000014a0| 64 4d 75 6c 74 69 70 6c | 65 0d 0d 2d 2d 2d 2d 2d |dMultipl|e..-----|
|000014b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000014c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 20 50 |--------|------ P|
|000014d0| 61 64 20 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |ad -----|--------|
|000014e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000014f0| 2d 2d 2d 0d 0d 66 75 6e | 63 74 69 6f 6e 20 50 61 |---..fun|ction Pa|
|00001500| 64 20 74 68 65 4e 75 6d | 62 65 72 2c 74 68 65 4c |d theNum|ber,theL|
|00001510| 65 6e 0d 70 75 74 20 22 | 30 30 30 30 30 30 30 30 |en.put "|00000000|
|00001520| 30 30 22 20 69 6e 74 6f | 20 70 61 64 64 69 6e 67 |00" into| padding|
|00001530| 0d 72 65 74 75 72 6e 20 | 28 63 68 61 72 20 31 20 |.return |(char 1 |
|00001540| 74 6f 20 28 74 68 65 4c | 65 6e 20 2d 20 6c 65 6e |to (theL|en - len|
|00001550| 67 74 68 28 74 68 65 4e | 75 6d 62 65 72 29 29 20 |gth(theN|umber)) |
|00001560| 6f 66 20 70 61 64 64 69 | 6e 67 29 26 74 68 65 4e |of paddi|ng)&theN|
|00001570| 75 6d 62 65 72 0d 65 6e | 64 20 50 61 64 0d 0d 2d |umber.en|d Pad..-|
|00001580| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001590| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 20 |--------|------- |
|000015a0| 66 69 6e 64 54 65 78 74 | 20 2d 2d 2d 2d 2d 2d 2d |findText| -------|
|000015b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000015c0| 2d 2d 2d 2d 2d 2d 2d 0d | 0d 6f 6e 20 66 69 6e 64 |-------.|.on find|
|000015d0| 54 65 78 74 0d 67 6c 6f | 62 61 6c 20 73 65 61 72 |Text.glo|bal sear|
|000015e0| 63 68 4c 69 73 74 2c 73 | 65 61 72 63 68 53 74 72 |chList,s|earchStr|
|000015f0| 69 6e 67 2c 67 46 69 72 | 73 74 48 69 74 2c 4c 61 |ing,gFir|stHit,La|
|00001600| 73 74 48 69 74 2c 66 6f | 75 6e 64 46 69 65 6c 64 |stHit,fo|undField|
|00001610| 0d 2d 2d 73 65 74 20 6c | 6f 63 6b 6d 65 73 73 61 |.--set l|ockmessa|
|00001620| 67 65 73 20 74 6f 20 74 | 72 75 65 0d 6c 6f 63 6b |ges to t|rue.lock|
|00001630| 20 73 63 72 65 65 6e 0d | 70 75 74 20 22 63 6f 6d | screen.|put "com|
|00001640| 70 61 6e 79 20 6e 61 6d | 65 2c 6c 6f 63 61 74 69 |pany nam|e,locati|
|00001650| 6f 6e 2c 6d 61 72 6b 65 | 74 2c 61 70 70 6c 69 63 |on,marke|t,applic|
|00001660| 61 74 69 6f 6e 73 2c 74 | 68 69 73 20 64 65 70 61 |ations,t|his depa|
|00001670| 72 74 6d 65 6e 74 2c 22 | c2 0d 26 22 73 74 6f 72 |rtment,"|..&"stor|
|00001680| 79 20 73 75 6d 6d 61 72 | 79 2c 63 6f 6d 70 6c 65 |y summar|y,comple|
|00001690| 74 65 20 73 74 6f 72 79 | 2c 73 6f 66 74 77 61 72 |te story|,softwar|
|000016a0| 65 20 75 73 65 64 2c 68 | 61 72 64 77 61 72 65 20 |e used,h|ardware |
|000016b0| 75 73 65 64 2c 22 c2 0d | 26 22 70 65 72 69 70 68 |used,"..|&"periph|
|000016c0| 65 72 61 6c 73 2c 4e 6f | 74 65 73 22 20 69 6e 74 |erals,No|tes" int|
|000016d0| 6f 20 6c 65 67 61 6c 46 | 69 65 6c 64 73 0d 0d 70 |o legalF|ields..p|
|000016e0| 75 74 20 22 63 6f 6d 70 | 6c 65 74 65 20 73 74 6f |ut "comp|lete sto|
|000016f0| 72 79 2c 73 6f 66 74 77 | 61 72 65 20 75 73 65 64 |ry,softw|are used|
|00001700| 2c 68 61 72 64 77 61 72 | 65 20 75 73 65 64 2c 22 |,hardwar|e used,"|
|00001710| c2 0d 26 22 70 65 72 69 | 70 68 65 72 61 6c 73 2c |..&"peri|pherals,|
|00001720| 4e 6f 74 65 73 22 20 69 | 6e 74 6f 20 70 6f 70 46 |Notes" i|nto popF|
|00001730| 69 65 6c 64 73 0d 0d 69 | 66 20 67 46 69 72 73 74 |ields..i|f gFirst|
|00001740| 48 69 74 20 69 73 20 65 | 6d 70 74 79 20 74 68 65 |Hit is e|mpty the|
|00001750| 6e 20 70 75 74 20 7a 65 | 72 6f 20 69 6e 74 6f 20 |n put ze|ro into |
|00001760| 66 6f 75 6e 64 46 69 65 | 6c 64 0d 72 65 70 65 61 |foundFie|ld.repea|
|00001770| 74 0d 69 66 20 66 6f 75 | 6e 64 46 69 65 6c 64 20 |t.if fou|ndField |
|00001780| 69 73 20 7a 65 72 6f 20 | 74 68 65 6e 0d 66 69 6e |is zero |then.fin|
|00001790| 64 20 77 68 6f 6c 65 20 | 73 65 61 72 63 68 53 74 |d whole |searchSt|
|000017a0| 72 69 6e 67 0d 69 66 20 | 74 68 65 20 72 65 73 75 |ring.if |the resu|
|000017b0| 6c 74 20 69 73 20 6e 6f | 74 20 65 6d 70 74 79 20 |lt is no|t empty |
|000017c0| 74 68 65 6e 0d 61 6e 73 | 77 65 72 20 71 75 6f 74 |then.ans|wer quot|
|000017d0| 65 26 73 65 61 72 63 68 | 53 74 72 69 6e 67 26 71 |e&search|String&q|
|000017e0| 75 6f 74 65 26 26 22 6e | 6f 74 20 66 6f 75 6e 64 |uote&&"n|ot found|
|000017f0| 2e 22 0d 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 |.".put e|mpty int|
|00001800| 6f 20 73 65 61 72 63 68 | 4c 69 73 74 0d 67 6f 20 |o search|List.go |
|00001810| 63 64 20 22 53 65 61 72 | 63 68 69 6e 67 20 43 65 |cd "Sear|ching Ce|
|00001820| 6e 74 72 61 6c 22 20 6f | 66 20 73 74 61 63 6b 20 |ntral" o|f stack |
|00001830| 22 53 75 63 63 65 73 73 | 20 53 74 6f 72 69 65 73 |"Success| Stories|
|00001840| 22 0d 65 78 69 74 20 66 | 69 6e 64 54 65 78 74 0d |".exit f|indText.|
|00001850| 65 6c 73 65 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |else.end| if.end |
|00001860| 69 66 0d 70 75 74 20 66 | 61 6c 73 65 20 69 6e 74 |if.put f|alse int|
|00001870| 6f 20 68 69 74 0d 72 65 | 70 65 61 74 20 77 69 74 |o hit.re|peat wit|
|00001880| 68 20 66 20 3d 20 66 6f | 75 6e 64 46 69 65 6c 64 |h f = fo|undField|
|00001890| 2b 31 20 74 6f 20 6e 75 | 6d 62 65 72 20 6f 66 20 |+1 to nu|mber of |
|000018a0| 69 74 65 6d 73 20 6f 66 | 20 4c 65 67 61 6c 46 69 |items of| LegalFi|
|000018b0| 65 6c 64 73 0d 69 66 20 | 66 6c 64 20 28 69 74 65 |elds.if |fld (ite|
|000018c0| 6d 20 66 20 6f 66 20 4c | 65 67 61 6c 46 69 65 6c |m f of L|egalFiel|
|000018d0| 64 73 29 20 63 6f 6e 74 | 61 69 6e 73 20 73 65 61 |ds) cont|ains sea|
|000018e0| 72 63 68 53 74 72 69 6e | 67 20 74 68 65 6e 0d 67 |rchStrin|g then.g|
|000018f0| 65 74 20 66 6c 64 20 28 | 69 74 65 6d 20 66 20 6f |et fld (|item f o|
|00001900| 66 20 4c 65 67 61 6c 46 | 69 65 6c 64 73 29 0d 70 |f LegalF|ields).p|
|00001910| 75 74 20 6f 66 66 73 65 | 74 28 53 65 61 72 63 68 |ut offse|t(Search|
|00001920| 53 74 72 69 6e 67 2c 69 | 74 29 20 69 6e 74 6f 20 |String,i|t) into |
|00001930| 74 68 65 4f 66 73 0d 69 | 66 20 20 74 68 65 4f 66 |theOfs.i|f theOf|
|00001940| 73 20 69 73 20 6f 6e 65 | 20 6f 72 20 63 68 61 72 |s is one| or char|
|00001950| 20 28 74 68 65 4f 66 73 | 20 2d 20 31 29 20 6f 66 | (theOfs| - 1) of|
|00001960| 20 69 74 20 69 73 20 69 | 6e 20 73 70 61 63 65 26 | it is i|n space&|
|00001970| 72 65 74 75 72 6e 20 74 | 68 65 6e 0d 70 75 74 20 |return t|hen.put |
|00001980| 54 72 75 65 20 69 6e 74 | 6f 20 68 69 74 0d 70 75 |True int|o hit.pu|
|00001990| 74 20 66 20 69 6e 74 6f | 20 66 6f 75 6e 64 46 69 |t f into| foundFi|
|000019a0| 65 6c 64 0d 65 78 69 74 | 20 72 65 70 65 61 74 0d |eld.exit| repeat.|
|000019b0| 65 6c 73 65 20 6e 65 78 | 74 20 72 65 70 65 61 74 |else nex|t repeat|
|000019c0| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 72 65 70 65 |.end if.|end repe|
|000019d0| 61 74 0d 69 66 20 68 69 | 74 20 74 68 65 6e 0d 70 |at.if hi|t then.p|
|000019e0| 75 74 20 69 74 65 6d 20 | 66 6f 75 6e 64 46 69 65 |ut item |foundFie|
|000019f0| 6c 64 20 6f 66 20 6c 65 | 67 61 6c 46 69 65 6c 64 |ld of le|galField|
|00001a00| 73 20 69 6e 74 6f 20 68 | 69 74 46 69 65 6c 64 0d |s into h|itField.|
|00001a10| 69 66 20 67 46 69 72 73 | 74 48 69 74 20 69 73 20 |if gFirs|tHit is |
|00001a20| 65 6d 70 74 79 20 74 68 | 65 6e 0d 70 75 74 20 6e |empty th|en.put n|
|00001a30| 75 6d 62 65 72 20 6f 66 | 20 74 68 69 73 20 63 64 |umber of| this cd|
|00001a40| 26 22 2c 22 c2 0d 26 48 | 69 74 46 69 65 6c 64 20 |&","..&H|itField |
|00001a50| 69 6e 74 6f 20 67 46 69 | 72 73 74 48 69 74 0d 65 |into gFi|rstHit.e|
|00001a60| 6c 73 65 0d 69 66 20 6e | 75 6d 62 65 72 20 6f 66 |lse.if n|umber of|
|00001a70| 20 74 68 69 73 20 63 64 | 20 69 73 20 69 74 65 6d | this cd| is item|
|00001a80| 20 6f 6e 65 20 6f 66 20 | 67 46 69 72 73 74 48 69 | one of |gFirstHi|
|00001a90| 74 c2 0d 61 6e 64 20 68 | 69 74 46 69 65 6c 64 20 |t..and h|itField |
|00001aa0| 69 73 20 69 74 65 6d 20 | 74 77 6f 20 6f 66 20 67 |is item |two of g|
|00001ab0| 46 69 72 73 74 48 69 74 | 20 74 68 65 6e 0d 69 66 |FirstHit| then.if|
|00001ac0| 20 6e 6f 74 20 63 6f 6e | 74 69 6e 75 65 46 69 6e | not con|tinueFin|
|00001ad0| 64 28 29 20 74 68 65 6e | 20 65 78 69 74 20 66 69 |d() then| exit fi|
|00001ae0| 6e 64 54 65 78 74 0d 73 | 65 74 20 76 69 73 69 62 |ndText.s|et visib|
|00001af0| 6c 65 20 6f 66 20 62 67 | 20 62 74 6e 20 22 46 69 |le of bg| btn "Fi|
|00001b00| 6e 64 20 4e 65 78 74 22 | 20 74 6f 20 54 52 55 45 |nd Next"| to TRUE|
|00001b10| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 69 66 0d 69 |.end if.|end if.i|
|00001b20| 66 20 68 69 74 46 69 65 | 6c 64 20 69 73 20 69 6e |f hitFie|ld is in|
|00001b30| 20 70 6f 70 46 69 65 6c | 64 73 20 74 68 65 6e 20 | popFiel|ds then |
|00001b40| 73 65 6e 64 20 6d 6f 75 | 73 65 75 70 20 74 6f 20 |send mou|seup to |
|00001b50| 62 67 20 62 74 6e 20 68 | 69 74 46 69 65 6c 64 0d |bg btn h|itField.|
|00001b60| 65 6c 73 65 20 73 65 6e | 64 20 6f 70 65 6e 63 61 |else sen|d openca|
|00001b70| 72 64 20 74 6f 20 74 68 | 69 73 20 63 64 0d 2d 2d |rd to th|is cd.--|
|00001b80| 65 6c 73 65 20 73 65 6e | 64 20 6d 6f 75 73 65 75 |else sen|d mouseu|
|00001b90| 70 20 74 6f 20 62 67 20 | 62 74 6e 20 22 53 74 6f |p to bg |btn "Sto|
|00001ba0| 72 79 20 53 75 6d 6d 61 | 72 79 22 0d 63 6c 69 63 |ry Summa|ry".clic|
|00001bb0| 6b 20 61 74 20 30 2c 30 | 0d 72 65 70 65 61 74 20 |k at 0,0|.repeat |
|00001bc0| 77 68 69 6c 65 20 74 68 | 65 20 6c 6f 63 6b 73 63 |while th|e locksc|
|00001bd0| 72 65 65 6e 0d 75 6e 6c | 6f 63 6b 20 73 63 72 65 |reen.unl|ock scre|
|00001be0| 65 6e 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 2d 2d |en.end r|epeat.--|
|00001bf0| 66 69 6e 64 20 77 68 6f | 6c 65 20 73 65 61 72 63 |find who|le searc|
|00001c00| 68 53 74 72 69 6e 67 20 | 69 6e 20 66 6c 64 20 68 |hString |in fld h|
|00001c10| 69 74 46 69 65 6c 64 0d | 66 69 6e 64 20 73 74 72 |itField.|find str|
|00001c20| 69 6e 67 20 73 65 61 72 | 63 68 53 74 72 69 6e 67 |ing sear|chString|
|00001c30| 20 69 6e 20 66 6c 64 20 | 68 69 74 46 69 65 6c 64 | in fld |hitField|
|00001c40| 0d 70 75 74 20 6e 75 6d | 62 65 72 20 6f 66 20 74 |.put num|ber of t|
|00001c50| 68 69 73 20 63 64 20 69 | 6e 74 6f 20 6c 61 73 74 |his cd i|nto last|
|00001c60| 48 69 74 0d 73 65 74 20 | 76 69 73 69 62 6c 65 20 |Hit.set |visible |
|00001c70| 6f 66 20 62 67 20 62 74 | 6e 20 22 46 69 6e 64 20 |of bg bt|n "Find |
|00001c80| 4e 65 78 74 22 20 74 6f | 20 54 52 55 45 0d 65 78 |Next" to| TRUE.ex|
|00001c90| 69 74 20 72 65 70 65 61 | 74 0d 65 6e 64 20 69 66 |it repea|t.end if|
|00001ca0| 0d 70 75 74 20 7a 65 72 | 6f 20 69 6e 74 6f 20 66 |.put zer|o into f|
|00001cb0| 6f 75 6e 64 46 69 65 6c | 64 0d 67 6f 20 6e 65 78 |oundFiel|d.go nex|
|00001cc0| 74 20 63 64 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |t cd.end| repeat.|
|00001cd0| 65 6e 64 20 66 69 6e 64 | 54 65 78 74 0d 0d 2d 2d |end find|Text..--|
|00001ce0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001cf0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 20 46 |--------|------ F|
|00001d00| 69 6e 64 4f 74 68 65 72 | 20 2d 2d 2d 2d 2d 2d 2d |indOther| -------|
|00001d10| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001d20| 2d 2d 2d 2d 2d 2d 0d 0d | 6f 6e 20 46 69 6e 64 4f |------..|on FindO|
|00001d30| 74 68 65 72 0d 67 6c 6f | 62 61 6c 20 73 65 61 72 |ther.glo|bal sear|
|00001d40| 63 68 4c 69 73 74 2c 73 | 65 61 72 63 68 53 74 72 |chList,s|earchStr|
|00001d50| 69 6e 67 2c 67 46 69 72 | 73 74 48 69 74 2c 6c 61 |ing,gFir|stHit,la|
|00001d60| 73 74 48 69 74 0d 0d 6c | 6f 63 6b 20 73 63 72 65 |stHit..l|ock scre|
|00001d70| 65 6e 0d 69 66 20 67 46 | 69 72 73 74 48 69 74 20 |en.if gF|irstHit |
|00001d80| 69 73 20 6e 6f 74 20 65 | 6d 70 74 79 20 74 68 65 |is not e|mpty the|
|00001d90| 6e 20 67 6f 20 6e 65 78 | 74 20 63 64 0d 2d 2d 73 |n go nex|t cd.--s|
|00001da0| 68 6f 77 20 66 6c 64 20 | 73 65 61 72 63 68 4c 69 |how fld |searchLi|
|00001db0| 73 74 0d 66 69 6e 64 20 | 77 68 6f 6c 65 20 73 65 |st.find |whole se|
|00001dc0| 61 72 63 68 53 74 72 69 | 6e 67 20 69 6e 20 66 6c |archStri|ng in fl|
|00001dd0| 64 20 73 65 61 72 63 68 | 4c 69 73 74 0d 69 66 20 |d search|List.if |
|00001de0| 74 68 65 20 72 65 73 75 | 6c 74 20 69 73 20 6e 6f |the resu|lt is no|
|00001df0| 74 20 65 6d 70 74 79 20 | 74 68 65 6e 0d 67 6f 20 |t empty |then.go |
|00001e00| 63 64 20 22 53 65 61 72 | 63 68 69 6e 67 20 43 65 |cd "Sear|ching Ce|
|00001e10| 6e 74 72 61 6c 22 20 6f | 66 20 22 53 75 63 63 65 |ntral" o|f "Succe|
|00001e20| 73 73 20 53 74 6f 72 69 | 65 73 22 0d 75 6e 6c 6f |ss Stori|es".unlo|
|00001e30| 63 6b 20 73 63 72 65 65 | 6e 0d 62 65 65 70 0d 61 |ck scree|n.beep.a|
|00001e40| 6e 73 77 65 72 20 22 4e | 6f 20 6d 61 74 63 68 20 |nswer "N|o match |
|00001e50| 66 6f 75 6e 64 2e 22 0d | 70 75 74 20 65 6d 70 74 |found.".|put empt|
|00001e60| 79 20 69 6e 74 6f 20 73 | 65 61 72 63 68 53 74 72 |y into s|earchStr|
|00001e70| 69 6e 67 0d 65 78 69 74 | 20 46 69 6e 64 4f 74 68 |ing.exit| FindOth|
|00001e80| 65 72 0d 65 6e 64 20 69 | 66 0d 69 66 20 67 46 69 |er.end i|f.if gFi|
|00001e90| 72 73 74 48 69 74 20 69 | 73 20 6e 75 6d 62 65 72 |rstHit i|s number|
|00001ea0| 20 6f 66 20 74 68 69 73 | 20 63 64 20 74 68 65 6e | of this| cd then|
|00001eb0| 0d 69 66 20 6e 6f 74 20 | 63 6f 6e 74 69 6e 75 65 |.if not |continue|
|00001ec0| 46 69 6e 64 28 29 20 74 | 68 65 6e 20 65 78 69 74 |Find() t|hen exit|
|00001ed0| 20 46 69 6e 64 4f 74 68 | 65 72 0d 73 65 74 20 76 | FindOth|er.set v|
|00001ee0| 69 73 69 62 6c 65 20 6f | 66 20 62 67 20 62 74 6e |isible o|f bg btn|
|00001ef0| 20 22 46 69 6e 64 20 4e | 65 78 74 22 20 74 6f 20 | "Find N|ext" to |
|00001f00| 54 52 55 45 0d 65 6e 64 | 20 69 66 0d 69 66 20 67 |TRUE.end| if.if g|
|00001f10| 46 69 72 73 74 48 69 74 | 20 69 73 20 65 6d 70 74 |FirstHit| is empt|
|00001f20| 79 20 74 68 65 6e 20 70 | 75 74 20 6e 75 6d 62 65 |y then p|ut numbe|
|00001f30| 72 20 6f 66 20 74 68 69 | 73 20 63 64 20 69 6e 74 |r of thi|s cd int|
|00001f40| 6f 20 67 46 69 72 73 74 | 48 69 74 0d 70 75 74 20 |o gFirst|Hit.put |
|00001f50| 6e 75 6d 62 65 72 20 6f | 66 20 74 68 69 73 20 63 |number o|f this c|
|00001f60| 64 20 69 6e 74 6f 20 6c | 61 73 74 48 69 74 0d 73 |d into l|astHit.s|
|00001f70| 65 74 20 76 69 73 69 62 | 6c 65 20 6f 66 20 62 67 |et visib|le of bg|
|00001f80| 20 62 74 6e 20 22 46 69 | 6e 64 20 4e 65 78 74 22 | btn "Fi|nd Next"|
|00001f90| 20 74 6f 20 54 52 55 45 | 0d 69 66 20 73 65 61 72 | to TRUE|.if sear|
|00001fa0| 63 68 4c 69 73 74 20 69 | 73 20 69 6e 20 22 48 61 |chList i|s in "Ha|
|00001fb0| 72 64 77 61 72 65 20 75 | 73 65 64 2c 53 6f 66 74 |rdware u|sed,Soft|
|00001fc0| 77 61 72 65 20 75 73 65 | 64 2c 50 65 72 69 70 68 |ware use|d,Periph|
|00001fd0| 65 72 61 6c 73 22 c2 0d | 74 68 65 6e 20 63 6c 69 |erals"..|then cli|
|00001fe0| 63 6b 20 61 74 20 6c 6f | 63 20 6f 66 20 62 67 20 |ck at lo|c of bg |
|00001ff0| 62 74 6e 20 73 65 61 72 | 63 68 4c 69 73 74 0d 75 |btn sear|chList.u|
|00002000| 6e 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 65 6e 64 |nlock sc|reen.end|
|00002010| 20 46 69 6e 64 4f 74 68 | 65 72 0d 0d 2d 2d 2d 2d | FindOth|er..----|
|00002020| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002030| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 20 43 6f 6e 74 69 |--------|-- Conti|
|00002040| 6e 75 65 46 69 6e 64 20 | 2d 2d 2d 2d 2d 2d 2d 2d |nueFind |--------|
|00002050| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002060| 2d 2d 2d 2d 0d 0d 66 75 | 6e 63 74 69 6f 6e 20 43 |----..fu|nction C|
|00002070| 6f 6e 74 69 6e 75 65 46 | 69 6e 64 0d 67 6c 6f 62 |ontinueF|ind.glob|
|00002080| 61 6c 20 67 46 69 72 73 | 74 48 69 74 2c 4c 61 73 |al gFirs|tHit,Las|
|00002090| 74 48 69 74 0d 67 6c 6f | 62 61 6c 20 73 65 61 72 |tHit.glo|bal sear|
|000020a0| 63 68 53 74 72 69 6e 67 | 2c 73 65 61 72 63 68 4c |chString|,searchL|
|000020b0| 69 73 74 0d 62 65 65 70 | 0d 2d 2d 2d 0d 70 75 73 |ist.beep|.---.pus|
|000020c0| 68 20 63 64 0d 67 6f 20 | 63 64 20 4c 61 73 74 48 |h cd.go |cd LastH|
|000020d0| 69 74 0d 72 65 70 65 61 | 74 20 75 6e 74 69 6c 20 |it.repea|t until |
|000020e0| 6e 6f 74 20 74 68 65 20 | 6c 6f 63 6b 73 63 72 65 |not the |lockscre|
|000020f0| 65 6e 0d 75 6e 6c 6f 63 | 6b 20 73 63 72 65 65 6e |en.unloc|k screen|
|00002100| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 2d 2d 2d 0d |.end rep|eat.---.|
|00002110| 61 6e 73 77 65 72 20 22 | 54 68 69 73 20 69 73 20 |answer "|This is |
|00002120| 74 68 65 20 6c 61 73 74 | 20 6d 61 74 63 68 2e 22 |the last| match."|
|00002130| 20 77 69 74 68 20 22 4e | 65 77 20 53 65 61 72 63 | with "N|ew Searc|
|00002140| 68 22 20 6f 72 20 22 43 | 6f 6e 74 69 6e 75 65 22 |h" or "C|ontinue"|
|00002150| 20 6f 72 c2 0d 22 53 74 | 6f 70 20 48 65 72 65 22 | or.."St|op Here"|
|00002160| 0d 69 66 20 69 74 20 69 | 73 20 22 53 74 6f 70 20 |.if it i|s "Stop |
|00002170| 48 65 72 65 22 20 74 68 | 65 6e 0d 67 6f 20 63 64 |Here" th|en.go cd|
|00002180| 20 6c 61 73 74 48 69 74 | 0d 70 75 74 20 65 6d 70 | lastHit|.put emp|
|00002190| 74 79 20 69 6e 74 6f 20 | 67 46 69 72 73 74 48 69 |ty into |gFirstHi|
|000021a0| 74 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |t.put em|pty into|
|000021b0| 20 6c 61 73 74 48 69 74 | 0d 70 75 74 20 65 6d 70 | lastHit|.put emp|
|000021c0| 74 79 20 69 6e 74 6f 20 | 73 65 61 72 63 68 53 74 |ty into |searchSt|
|000021d0| 72 69 6e 67 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |ring.put| empty i|
|000021e0| 6e 74 6f 20 73 65 61 72 | 63 68 4c 69 73 74 0d 73 |nto sear|chList.s|
|000021f0| 65 74 20 76 69 73 69 62 | 6c 65 20 6f 66 20 62 67 |et visib|le of bg|
|00002200| 20 62 74 6e 20 22 46 69 | 6e 64 20 4e 65 78 74 22 | btn "Fi|nd Next"|
|00002210| 20 74 6f 20 66 61 6c 73 | 65 0d 63 6c 69 63 6b 20 | to fals|e.click |
|00002220| 61 74 20 30 2c 30 0d 72 | 65 74 75 72 6e 20 66 61 |at 0,0.r|eturn fa|
|00002230| 6c 73 65 0d 65 6c 73 65 | 20 69 66 20 69 74 20 69 |lse.else| if it i|
|00002240| 73 20 22 4e 65 77 20 53 | 65 61 72 63 68 22 20 74 |s "New S|earch" t|
|00002250| 68 65 6e 0d 67 6f 20 63 | 64 20 22 53 65 61 72 63 |hen.go c|d "Searc|
|00002260| 68 69 6e 67 20 43 65 6e | 74 72 61 6c 22 20 6f 66 |hing Cen|tral" of|
|00002270| 20 73 74 61 63 6b 20 22 | 53 75 63 63 65 73 73 20 | stack "|Success |
|00002280| 53 74 6f 72 69 65 73 22 | 0d 72 65 74 75 72 6e 20 |Stories"|.return |
|00002290| 66 61 6c 73 65 0d 65 6c | 73 65 0d 70 6f 70 20 63 |false.el|se.pop c|
|000022a0| 64 0d 72 65 74 75 72 6e | 20 54 72 75 65 0d 65 6e |d.return| True.en|
|000022b0| 64 20 69 66 0d 65 6e 64 | 20 63 6f 6e 74 69 6e 75 |d if.end| continu|
|000022c0| 65 46 69 6e 64 0d 0d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |eFind..-|--------|
|000022d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000022e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 20 73 74 72 69 70 20 |--------|- strip |
|000022f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002300| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 0d |--------|-------.|
|00002310| 0d 66 75 6e 63 74 69 6f | 6e 20 73 74 72 69 70 20 |.functio|n strip |
|00002320| 74 68 65 53 74 72 69 6e | 67 0d 72 65 70 65 61 74 |theStrin|g.repeat|
|00002330| 20 77 68 69 6c 65 20 66 | 69 72 73 74 20 63 68 61 | while f|irst cha|
|00002340| 72 20 6f 66 20 74 68 65 | 53 74 72 69 6e 67 20 69 |r of the|String i|
|00002350| 73 20 73 70 61 63 65 0d | 64 65 6c 65 74 65 20 66 |s space.|delete f|
|00002360| 69 72 73 74 20 63 68 61 | 72 20 6f 66 20 74 68 65 |irst cha|r of the|
|00002370| 53 74 72 69 6e 67 0d 65 | 6e 64 20 72 65 70 65 61 |String.e|nd repea|
|00002380| 74 0d 72 65 70 65 61 74 | 20 77 68 69 6c 65 20 6c |t.repeat| while l|
|00002390| 61 73 74 20 63 68 61 72 | 20 6f 66 20 74 68 65 53 |ast char| of theS|
|000023a0| 74 72 69 6e 67 20 69 73 | 20 73 70 61 63 65 0d 64 |tring is| space.d|
|000023b0| 65 6c 65 74 65 20 6c 61 | 73 74 20 63 68 61 72 20 |elete la|st char |
|000023c0| 6f 66 20 74 68 65 53 74 | 72 69 6e 67 0d 65 6e 64 |of theSt|ring.end|
|000023d0| 20 72 65 70 65 61 74 0d | 72 65 74 75 72 6e 20 74 | repeat.|return t|
|000023e0| 68 65 53 74 72 69 6e 67 | 0d 65 6e 64 20 73 74 72 |heString|.end str|
|000023f0| 69 70 0d 0d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |ip..----|--------|
|00002400| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002410| 2d 2d 2d 2d 20 72 65 46 | 6f 72 6d 61 74 20 2d 2d |---- reF|ormat --|
|00002420| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002430| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0d 0d 6f 6e |--------|----..on|
|00002440| 20 72 65 46 6f 72 6d 61 | 74 0d 72 65 70 65 61 74 | reForma|t.repeat|
|00002450| 20 77 69 74 68 20 63 20 | 3d 20 31 20 74 6f 20 6e | with c |= 1 to n|
|00002460| 75 6d 62 65 72 20 6f 66 | 20 63 64 73 0d 73 65 74 |umber of| cds.set|
|00002470| 20 63 75 72 73 6f 72 20 | 74 6f 20 62 75 73 79 0d | cursor |to busy.|
|00002480| 0d 70 75 74 20 6c 69 73 | 74 32 6c 69 6e 65 73 28 |.put lis|t2lines(|
|00002490| 66 6c 64 20 22 68 61 72 | 64 77 61 72 65 20 75 73 |fld "har|dware us|
|000024a0| 65 64 22 20 6f 66 20 63 | 64 20 63 29 c2 0d 69 6e |ed" of c|d c)..in|
|000024b0| 74 6f 20 66 6c 64 20 22 | 68 61 72 64 77 61 72 65 |to fld "|hardware|
|000024c0| 20 75 73 65 64 22 20 6f | 66 20 63 64 20 63 0d 0d | used" o|f cd c..|
|000024d0| 70 75 74 20 6c 69 73 74 | 32 6c 69 6e 65 73 28 66 |put list|2lines(f|
|000024e0| 6c 64 20 22 73 6f 66 74 | 77 61 72 65 20 75 73 65 |ld "soft|ware use|
|000024f0| 64 22 20 6f 66 20 63 64 | 20 63 29 c2 0d 69 6e 74 |d" of cd| c)..int|
|00002500| 6f 20 66 6c 64 20 22 73 | 6f 66 74 77 61 72 65 20 |o fld "s|oftware |
|00002510| 75 73 65 64 22 20 6f 66 | 20 63 64 20 63 0d 0d 70 |used" of| cd c..p|
|00002520| 75 74 20 6c 69 73 74 32 | 6c 69 6e 65 73 28 66 6c |ut list2|lines(fl|
|00002530| 64 20 22 50 65 72 69 70 | 68 65 72 61 6c 73 22 20 |d "Perip|herals" |
|00002540| 6f 66 20 63 64 20 63 29 | c2 0d 69 6e 74 6f 20 66 |of cd c)|..into f|
|00002550| 6c 64 20 22 50 65 72 69 | 70 68 65 72 61 6c 73 22 |ld "Peri|pherals"|
|00002560| 20 6f 66 20 63 64 20 63 | 0d 0d 65 6e 64 20 72 65 | of cd c|..end re|
|00002570| 70 65 61 74 0d 70 6c 61 | 79 20 61 68 68 68 0d 65 |peat.pla|y ahhh.e|
|00002580| 6e 64 20 72 65 46 6f 72 | 6d 61 74 0d 0d 2d 2d 2d |nd reFor|mat..---|
|00002590| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000025a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 20 6c 69 73 |--------|---- lis|
|000025b0| 74 32 6c 69 6e 65 73 20 | 2d 2d 2d 2d 2d 2d 2d 2d |t2lines |--------|
|000025c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000025d0| 2d 2d 2d 2d 2d 0d 0d 66 | 75 6e 63 74 69 6f 6e 20 |-----..f|unction |
|000025e0| 6c 69 73 74 32 6c 69 6e | 65 73 20 74 68 65 6c 69 |list2lin|es theli|
|000025f0| 73 74 0d 72 65 70 65 61 | 74 20 77 68 69 6c 65 20 |st.repea|t while |
|00002600| 74 68 65 4c 69 73 74 20 | 63 6f 6e 74 61 69 6e 73 |theList |contains|
|00002610| 20 22 2c 22 0d 70 75 74 | 20 72 65 74 75 72 6e 20 | ",".put| return |
|00002620| 69 6e 74 6f 20 63 68 61 | 72 20 6f 66 66 73 65 74 |into cha|r offset|
|00002630| 28 22 2c 22 2c 74 68 65 | 4c 69 73 74 29 20 6f 66 |(",",the|List) of|
|00002640| 20 74 68 65 4c 69 73 74 | 0d 65 6e 64 20 72 65 70 | theList|.end rep|
|00002650| 65 61 74 0d 70 75 74 20 | 6b 73 6f 72 74 28 74 68 |eat.put |ksort(th|
|00002660| 65 4c 69 73 74 2c 22 4c | 22 2c 22 41 22 29 20 69 |eList,"L|","A") i|
|00002670| 6e 74 6f 20 74 68 65 4c | 69 73 74 0d 72 65 70 65 |nto theL|ist.repe|
|00002680| 61 74 20 77 68 69 6c 65 | 20 66 69 72 73 74 20 63 |at while| first c|
|00002690| 68 61 72 20 6f 66 20 74 | 68 65 4c 69 73 74 20 69 |har of t|heList i|
|000026a0| 73 20 72 65 74 75 72 6e | 0d 64 65 6c 65 74 65 20 |s return|.delete |
|000026b0| 66 69 72 73 74 20 63 68 | 61 72 20 6f 66 20 74 68 |first ch|ar of th|
|000026c0| 65 4c 69 73 74 0d 65 6e | 64 20 72 65 70 65 61 74 |eList.en|d repeat|
|000026d0| 0d 72 65 74 75 72 6e 20 | 74 68 65 4c 69 73 74 0d |.return |theList.|
|000026e0| 65 6e 64 20 6c 69 73 74 | 32 6c 69 6e 65 73 0d 0d |end list|2lines..|
|000026f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002700| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002710| 20 6f 70 65 6e 63 61 72 | 64 20 2d 2d 2d 2d 2d 2d | opencar|d ------|
|00002720| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002730| 2d 2d 2d 2d 2d 2d 2d 2d | 0d 0d 6f 6e 20 6f 70 65 |--------|..on ope|
|00002740| 6e 63 61 72 64 0d 67 6c | 6f 62 61 6c 20 73 65 61 |ncard.gl|obal sea|
|00002750| 72 63 68 53 74 72 69 6e | 67 2c 73 65 61 72 63 68 |rchStrin|g,search|
|00002760| 4c 69 73 74 2c 6e 6f 77 | 53 68 6f 77 69 6e 67 0d |List,now|Showing.|
|00002770| 73 65 74 20 76 69 73 69 | 62 6c 65 20 6f 66 20 62 |set visi|ble of b|
|00002780| 67 20 62 74 6e 20 22 66 | 69 6e 64 20 4e 65 78 74 |g btn "f|ind Next|
|00002790| 22 20 74 6f 20 c2 0d 28 | 73 65 61 72 63 68 53 74 |" to ..(|searchSt|
|000027a0| 72 69 6e 67 20 69 73 20 | 6e 6f 74 20 65 6d 70 74 |ring is |not empt|
|000027b0| 79 20 61 6e 64 20 73 65 | 61 72 63 68 4c 69 73 74 |y and se|archList|
|000027c0| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 29 0d 73 | is not |empty).s|
|000027d0| 65 74 20 76 69 73 69 62 | 6c 65 20 6f 66 20 62 67 |et visib|le of bg|
|000027e0| 20 62 74 6e 20 22 44 70 | 74 43 6f 76 65 72 22 20 | btn "Dp|tCover" |
|000027f0| 74 6f 20 28 66 6c 64 20 | 22 54 68 69 73 20 44 65 |to (fld |"This De|
|00002800| 70 61 72 74 6d 65 6e 74 | 22 20 69 73 20 65 6d 70 |partment|" is emp|
|00002810| 74 79 29 0d 69 66 20 6e | 6f 77 53 68 6f 77 69 6e |ty).if n|owShowin|
|00002820| 67 20 69 73 20 6e 6f 74 | 20 65 6d 70 74 79 20 74 |g is not| empty t|
|00002830| 68 65 6e 20 63 68 65 63 | 6b 73 63 72 6f 6c 6c 20 |hen chec|kscroll |
|00002840| 6e 6f 77 73 68 6f 77 69 | 6e 67 0d 69 66 20 74 68 |nowshowi|ng.if th|
|00002850| 65 20 6c 6f 63 6b 73 63 | 72 65 65 6e 20 74 68 65 |e locksc|reen the|
|00002860| 6e 20 75 6e 6c 6f 63 6b | 20 73 63 72 65 65 6e 20 |n unlock| screen |
|00002870| 77 69 74 68 20 64 69 73 | 73 6f 6c 76 65 0d 65 6e |with dis|solve.en|
|00002880| 64 20 6f 70 65 6e 63 61 | 72 64 0d 0d 2d 2d 2d 2d |d openca|rd..----|
|00002890| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000028a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 20 63 68 65 63 |--------|--- chec|
|000028b0| 6b 53 63 72 6f 6c 6c 20 | 2d 2d 2d 2d 2d 2d 2d 2d |kScroll |--------|
|000028c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000028d0| 2d 2d 2d 2d 0d 0d 6f 6e | 20 63 68 65 63 6b 53 63 |----..on| checkSc|
|000028e0| 72 6f 6c 6c 20 74 68 65 | 46 6c 64 0d 73 65 74 20 |roll the|Fld.set |
|000028f0| 73 63 72 6f 6c 6c 20 6f | 66 20 66 6c 64 20 74 68 |scroll o|f fld th|
|00002900| 65 46 6c 64 20 74 6f 20 | 30 0d 69 66 20 74 68 65 |eFld to |0.if the|
|00002910| 46 6c 64 20 69 73 20 22 | 63 6f 6d 70 6c 65 74 65 |Fld is "|complete|
|00002920| 20 73 74 6f 72 79 22 20 | 74 68 65 6e 0d 68 69 64 | story" |then.hid|
|00002930| 65 20 62 67 20 62 74 6e | 20 73 63 72 6f 6c 6c 43 |e bg btn| scrollC|
|00002940| 6f 76 65 72 0d 65 6c 73 | 65 0d 73 65 6c 65 63 74 |over.els|e.select|
|00002950| 20 61 66 74 65 72 20 74 | 65 78 74 20 6f 66 20 66 | after t|ext of f|
|00002960| 6c 64 20 74 68 65 46 6c | 64 0d 73 65 74 20 76 69 |ld theFl|d.set vi|
|00002970| 73 69 62 6c 65 20 6f 66 | 20 62 67 20 62 74 6e 20 |sible of| bg btn |
|00002980| 53 63 72 6f 6c 6c 43 6f | 76 65 72 20 74 6f c2 0d |ScrollCo|ver to..|
|00002990| 74 68 65 20 73 63 72 6f | 6c 6c 20 6f 66 20 66 6c |the scro|ll of fl|
|000029a0| 64 20 74 68 65 46 6c 64 | 20 3c 20 74 68 65 20 74 |d theFld| < the t|
|000029b0| 65 78 74 48 65 69 67 68 | 74 20 6f 66 20 66 6c 64 |extHeigh|t of fld|
|000029c0| 20 74 68 65 46 6c 64 0d | 73 65 74 20 73 63 72 6f | theFld.|set scro|
|000029d0| 6c 6c 20 6f 66 20 66 6c | 64 20 74 68 65 46 6c 64 |ll of fl|d theFld|
|000029e0| 20 74 6f 20 30 0d 65 6e | 64 20 69 66 0d 65 6e 64 | to 0.en|d if.end|
|000029f0| 20 63 68 65 63 6b 53 63 | 72 6f 6c 6c 0d 0d 2d 2d | checkSc|roll..--|
|00002a00| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002a10| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002a20| 20 69 6e 69 74 20 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d | init --|--------|
|00002a30| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002a40| 2d 2d 2d 2d 2d 2d 0d 0d | 6f 6e 20 69 6e 69 74 0d |------..|on init.|
|00002a50| 62 65 65 70 20 32 0d 61 | 6e 73 77 65 72 20 22 44 |beep 2.a|nswer "D|
|00002a60| 65 6c 65 74 65 20 61 6c | 6c 20 63 64 73 3f 22 20 |elete al|l cds?" |
|00002a70| 77 69 74 68 20 22 4e 4f | 22 20 6f 72 20 22 59 45 |with "NO|" or "YE|
|00002a80| 53 22 0d 69 66 20 69 74 | 20 69 73 20 6e 6f 74 20 |S".if it| is not |
|00002a90| 22 59 45 53 22 20 74 68 | 65 6e 20 65 78 69 74 20 |"YES" th|en exit |
|00002aa0| 69 6e 69 74 0d 73 65 74 | 20 6c 6f 63 6b 6d 65 73 |init.set| lockmes|
|00002ab0| 73 61 67 65 73 20 74 6f | 20 74 72 75 65 0d 73 65 |sages to| true.se|
|00002ac0| 74 20 6c 6f 63 6b 72 65 | 63 65 6e 74 20 74 6f 20 |t lockre|cent to |
|00002ad0| 74 72 75 65 0d 67 6f 20 | 63 64 20 32 0d 6c 6f 63 |true.go |cd 2.loc|
|00002ae0| 6b 20 73 63 72 65 65 6e | 0d 72 65 70 65 61 74 20 |k screen|.repeat |
|00002af0| 75 6e 74 69 6c 20 6e 75 | 6d 62 65 72 20 6f 66 20 |until nu|mber of |
|00002b00| 63 64 73 20 69 73 20 6f | 6e 65 0d 64 6f 4d 65 6e |cds is o|ne.doMen|
|00002b10| 75 20 22 64 65 6c 65 74 | 65 20 43 61 72 64 22 0d |u "delet|e Card".|
|00002b20| 65 6e 64 20 72 65 70 65 | 61 74 0d 75 6e 6c 6f 63 |end repe|at.unloc|
|00002b30| 6b 20 73 63 72 65 65 6e | 0d 64 6f 4d 65 6e 75 20 |k screen|.doMenu |
|00002b40| 22 63 6f 6d 70 61 63 74 | 20 73 74 61 63 6b 22 0d |"compact| stack".|
|00002b50| 65 6e 64 20 69 6e 69 74 | 0d 0d 2d 2d 2d 2d 2d 2d |end init|..------|
|00002b60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002b70| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 20 6f 70 65 6e 53 |--------|-- openS|
|00002b80| 74 61 63 6b 20 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |tack ---|--------|
|00002b90| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002ba0| 2d 2d 0d 0d 6f 6e 20 6f | 70 65 6e 53 74 61 63 6b |--..on o|penStack|
|00002bb0| 0d 68 69 64 65 20 6d 65 | 6e 75 42 61 72 0d 70 61 |.hide me|nuBar.pa|
|00002bc0| 73 73 20 6f 70 65 6e 73 | 74 61 63 6b 0d 65 6e 64 |ss opens|tack.end|
|00002bd0| 20 6f 70 65 6e 53 74 61 | 63 6b 0d 0d 2d 2d 2d 2d | openSta|ck..----|
|00002be0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002bf0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 20 72 65 53 |--------|---- reS|
|00002c00| 65 74 52 65 63 74 20 2d | 2d 2d 2d 2d 2d 2d 2d 2d |etRect -|--------|
|00002c10| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002c20| 2d 2d 2d 2d 0d 0d 6f 6e | 20 72 65 53 65 74 52 65 |----..on| reSetRe|
|00002c30| 63 74 0d 61 73 6b 20 22 | 4e 65 77 20 72 65 63 74 |ct.ask "|New rect|
|00002c40| 3f 22 20 77 69 74 68 20 | 22 31 39 34 2c 31 30 34 |?" with |"194,104|
|00002c50| 2c 35 30 33 2c 32 33 32 | 22 0d 70 75 74 20 22 73 |,503,232|".put "s|
|00002c60| 65 74 20 72 65 63 74 20 | 6f 66 20 66 6c 64 20 3f |et rect |of fld ?|
|00002c70| 3f 20 74 6f 22 20 26 26 | 20 69 74 0d 65 6e 64 20 |? to" &&| it.end |
|00002c80| 72 65 53 65 74 52 65 63 | 74 0d 0d 2d 2d 2d 2d 2d |reSetRec|t..-----|
|00002c90| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002ca0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 20 4c 6f 6f |--------|---- Loo|
|00002cb0| 6b 75 70 20 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |kup ----|--------|
|00002cc0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002cd0| 2d 2d 2d 0d 0d 66 75 6e | 63 74 69 6f 6e 20 4c 6f |---..fun|ction Lo|
|00002ce0| 6f 6b 75 70 20 74 68 65 | 4b 65 79 2c 20 74 68 65 |okup the|Key, the|
|00002cf0| 54 61 62 6c 65 0d 70 75 | 74 20 73 74 72 69 70 28 |Table.pu|t strip(|
|00002d00| 74 68 65 4b 65 79 29 20 | 69 6e 74 6f 20 74 68 65 |theKey) |into the|
|00002d10| 4b 65 79 0d 70 75 74 20 | 6f 66 66 73 65 74 28 72 |Key.put |offset(r|
|00002d20| 65 74 75 72 6e 26 74 68 | 65 4b 65 79 26 72 65 74 |eturn&th|eKey&ret|
|00002d30| 75 72 6e 2c 74 68 65 54 | 61 62 6c 65 29 20 69 6e |urn,theT|able) in|
|00002d40| 74 6f 20 77 68 65 72 65 | 0d 69 66 20 77 68 65 72 |to where|.if wher|
|00002d50| 65 20 69 73 20 7a 65 72 | 6f 20 74 68 65 6e 0d 72 |e is zer|o then.r|
|00002d60| 65 74 75 72 6e 20 65 6d | 70 74 79 0d 65 78 69 74 |eturn em|pty.exit|
|00002d70| 20 6c 6f 6f 6b 75 70 0d | 65 6e 64 20 69 66 0d 64 | lookup.|end if.d|
|00002d80| 65 6c 65 74 65 20 63 68 | 61 72 20 31 20 74 6f 20 |elete ch|ar 1 to |
|00002d90| 77 68 65 72 65 20 6f 66 | 20 74 68 65 54 61 62 6c |where of| theTabl|
|00002da0| 65 0d 72 65 74 75 72 6e | 20 6c 69 6e 65 20 31 20 |e.return| line 1 |
|00002db0| 6f 66 20 74 68 65 54 61 | 62 6c 65 0d 65 6e 64 20 |of theTa|ble.end |
|00002dc0| 4c 6f 6f 6b 75 70 0d 0d | 2d 2d 2d 2d 2d 2d 2d 2d |Lookup..|--------|
|00002dd0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002de0| 2d 2d 2d 2d 2d 2d 2d 20 | 64 61 74 61 49 6d 70 6f |------- |dataImpo|
|00002df0| 72 74 20 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |rt -----|--------|
|00002e00| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002e10| 0d 0d 6f 6e 20 64 61 74 | 61 49 6d 70 6f 72 74 0d |..on dat|aImport.|
|00002e20| 2d 2d 20 49 6e 69 74 69 | 61 6c 69 7a 65 0d 67 6c |-- Initi|alize.gl|
|00002e30| 6f 62 61 6c 20 73 6f 66 | 74 77 61 72 65 54 61 62 |obal sof|twareTab|
|00002e40| 6c 65 2c 61 70 70 54 61 | 62 6c 65 2c 43 50 55 54 |le,appTa|ble,CPUT|
|00002e50| 61 62 6c 65 2c 44 65 70 | 74 54 61 62 6c 65 2c 49 |able,Dep|tTable,I|
|00002e60| 6e 64 54 61 62 6c 65 2c | 50 65 72 54 61 62 6c 65 |ndTable,|PerTable|
|00002e70| 0d 47 6c 6f 62 61 6c 20 | 63 6f 75 6e 74 2c 45 6e |.Global |count,En|
|00002e80| 64 4f 66 46 69 6c 65 2c | 74 61 62 6c 65 50 61 74 |dOfFile,|tablePat|
|00002e90| 68 0d 6f 70 65 6e 20 66 | 69 6c 65 20 74 61 62 6c |h.open f|ile tabl|
|00002ea0| 65 50 61 74 68 26 22 45 | 78 63 65 70 74 69 6f 6e |ePath&"E|xception|
|00002eb0| 73 22 0d 69 66 20 6e 75 | 6d 62 65 72 20 6f 66 20 |s".if nu|mber of |
|00002ec0| 63 61 72 64 73 20 3e 20 | 31 20 74 68 65 6e 20 69 |cards > |1 then i|
|00002ed0| 6e 69 74 0d 73 65 74 20 | 6c 6f 63 6b 6d 65 73 73 |nit.set |lockmess|
|00002ee0| 61 67 65 73 20 74 6f 20 | 74 72 75 65 0d 73 65 74 |ages to |true.set|
|00002ef0| 20 6c 6f 63 6b 72 65 63 | 65 6e 74 20 74 6f 20 74 | lockrec|ent to t|
|00002f00| 72 75 65 0d 70 6c 61 79 | 20 48 61 72 70 73 69 63 |rue.play| Harpsic|
|00002f10| 68 6f 72 64 0d 70 75 74 | 20 66 69 6c 65 6e 61 6d |hord.put| filenam|
|00002f20| 65 28 29 20 69 6e 74 6f | 20 64 61 74 61 46 69 6c |e() into| dataFil|
|00002f30| 65 0d 6c 6f 63 6b 20 73 | 63 72 65 65 6e 0d 75 6e |e.lock s|creen.un|
|00002f40| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 70 75 74 20 |lock scr|een.put |
|00002f50| 7a 65 72 6f 20 69 6e 74 | 6f 20 63 6f 75 6e 74 0d |zero int|o count.|
|00002f60| 69 66 20 64 61 74 61 46 | 69 6c 65 20 69 73 20 65 |if dataF|ile is e|
|00002f70| 6d 70 74 79 20 74 68 65 | 6e 20 65 78 69 74 20 64 |mpty the|n exit d|
|00002f80| 61 74 61 49 6d 70 6f 72 | 74 0d 6f 70 65 6e 20 66 |ataImpor|t.open f|
|00002f90| 69 6c 65 20 64 61 74 61 | 46 69 6c 65 0d 4c 6f 61 |ile data|File.Loa|
|00002fa0| 64 54 61 62 6c 65 73 0d | 68 69 64 65 20 6d 65 6e |dTables.|hide men|
|00002fb0| 75 62 61 72 0d 6c 6f 63 | 6b 20 73 63 72 65 65 6e |ubar.loc|k screen|
|00002fc0| 0d 70 75 74 20 66 61 6c | 73 65 20 69 6e 74 6f 20 |.put fal|se into |
|00002fd0| 45 6e 64 4f 66 46 69 6c | 65 0d 0d 2d 2d 20 50 72 |EndOfFil|e..-- Pr|
|00002fe0| 6f 63 65 73 73 0d 72 65 | 70 65 61 74 20 75 6e 74 |ocess.re|peat unt|
|00002ff0| 69 6c 20 45 6e 64 4f 66 | 46 69 6c 65 20 6f 72 20 |il EndOf|File or |
|00003000| 74 68 65 20 6d 6f 75 73 | 65 63 6c 69 63 6b 0d 2d |the mous|eclick.-|
|00003010| 2d 20 53 74 6f 72 79 20 | 53 75 6d 6d 61 72 79 0d |- Story |Summary.|
|00003020| 70 75 74 20 6e 65 78 74 | 52 65 63 6f 72 64 28 64 |put next|Record(d|
|00003030| 61 74 61 46 69 6c 65 2c | 31 30 29 20 69 6e 74 6f |ataFile,|10) into|
|00003040| 20 66 6c 64 20 22 53 74 | 6f 72 79 20 53 75 6d 6d | fld "St|ory Summ|
|00003050| 61 72 79 22 0d 0d 2d 2d | 20 43 6f 6d 70 6c 65 74 |ary"..--| Complet|
|00003060| 65 20 53 74 6f 72 79 0d | 70 75 74 20 6e 65 78 74 |e Story.|put next|
|00003070| 52 65 63 6f 72 64 28 64 | 61 74 61 46 69 6c 65 29 |Record(d|ataFile)|
|00003080| 20 69 6e 74 6f 20 66 6c | 64 20 22 43 6f 6d 70 6c | into fl|d "Compl|
|00003090| 65 74 65 20 53 74 6f 72 | 79 22 0d 0d 2d 2d 20 48 |ete Stor|y"..-- H|
|000030a0| 61 72 64 77 61 72 65 20 | 55 73 65 64 0d 70 75 74 |ardware |Used.put|
|000030b0| 20 46 6f 72 6d 61 74 4c | 69 73 74 28 6e 65 78 74 | FormatL|ist(next|
|000030c0| 52 65 63 6f 72 64 28 64 | 61 74 61 46 69 6c 65 2c |Record(d|ataFile,|
|000030d0| 38 29 2c 74 72 75 65 29 | 20 69 6e 74 6f 20 4d 61 |8),true)| into Ma|
|000030e0| 63 73 0d 70 75 74 20 46 | 6f 72 6d 61 74 4c 69 73 |cs.put F|ormatLis|
|000030f0| 74 28 6e 65 78 74 52 65 | 63 6f 72 64 28 64 61 74 |t(nextRe|cord(dat|
|00003100| 61 46 69 6c 65 29 2c 74 | 72 75 65 29 20 69 6e 74 |aFile),t|rue) int|
|00003110| 6f 20 4f 74 68 65 72 0d | 67 65 74 20 4d 61 63 73 |o Other.|get Macs|
|00003120| 26 22 2c 22 26 4f 74 68 | 65 72 0d 72 65 70 65 61 |&","&Oth|er.repea|
|00003130| 74 20 77 69 74 68 20 69 | 20 3d 20 31 20 74 6f 20 |t with i| = 1 to |
|00003140| 6e 75 6d 62 65 72 20 6f | 66 20 69 74 65 6d 73 20 |number o|f items |
|00003150| 6f 66 20 69 74 0d 70 75 | 74 20 73 74 72 69 70 28 |of it.pu|t strip(|
|00003160| 69 74 65 6d 20 69 20 6f | 66 20 69 74 29 20 69 6e |item i o|f it) in|
|00003170| 74 6f 20 63 75 72 72 65 | 6e 74 0d 69 66 20 66 69 |to curre|nt.if fi|
|00003180| 72 73 74 20 77 6f 72 64 | 20 6f 66 20 63 75 72 72 |rst word| of curr|
|00003190| 65 6e 74 20 69 73 20 22 | 4d 61 63 22 c2 0d 74 68 |ent is "|Mac"..th|
|000031a0| 65 6e 20 70 75 74 20 22 | 4d 61 63 69 6e 74 6f 73 |en put "|Macintos|
|000031b0| 68 22 20 69 6e 74 6f 20 | 66 69 72 73 74 20 77 6f |h" into |first wo|
|000031c0| 72 64 20 6f 66 20 63 75 | 72 72 65 6e 74 0d 70 75 |rd of cu|rrent.pu|
|000031d0| 74 20 6e 75 6d 62 65 72 | 20 6f 66 20 77 6f 72 64 |t number| of word|
|000031e0| 73 20 6f 66 20 63 75 72 | 72 65 6e 74 20 69 6e 74 |s of cur|rent int|
|000031f0| 6f 20 77 6f 72 64 43 6e | 74 0d 69 66 20 66 69 72 |o wordCn|t.if fir|
|00003200| 73 74 20 63 68 61 72 20 | 6f 66 20 6c 61 73 74 20 |st char |of last |
|00003210| 77 6f 72 64 20 6f 66 20 | 63 75 72 72 65 6e 74 20 |word of |current |
|00003220| 63 6f 6e 74 61 69 6e 73 | 20 22 28 22 c2 0d 74 68 |contains| "("..th|
|00003230| 65 6e 20 73 75 62 74 72 | 61 63 74 20 6f 6e 65 20 |en subtr|act one |
|00003240| 66 72 6f 6d 20 77 6f 72 | 64 43 6e 74 0d 70 75 74 |from wor|dCnt.put|
|00003250| 20 74 72 61 6e 73 28 77 | 6f 72 64 20 6f 6e 65 20 | trans(w|ord one |
|00003260| 74 6f 20 77 6f 72 64 43 | 6e 74 20 6f 66 20 63 75 |to wordC|nt of cu|
|00003270| 72 72 65 6e 74 2c 22 43 | 50 55 22 29 c2 0d 69 6e |rrent,"C|PU")..in|
|00003280| 74 6f 20 77 6f 72 64 20 | 6f 6e 65 20 74 6f 20 77 |to word |one to w|
|00003290| 6f 72 64 43 6e 74 20 6f | 66 20 63 75 72 72 65 6e |ordCnt o|f curren|
|000032a0| 74 0d 70 75 74 20 6e 75 | 6d 62 65 72 20 6f 66 20 |t.put nu|mber of |
|000032b0| 77 6f 72 64 73 20 6f 66 | 20 63 75 72 72 65 6e 74 |words of| current|
|000032c0| 20 69 6e 74 6f 20 77 6f | 72 64 43 6e 74 0d 69 66 | into wo|rdCnt.if|
|000032d0| 20 66 69 72 73 74 20 63 | 68 61 72 20 6f 66 20 6c | first c|har of l|
|000032e0| 61 73 74 20 77 6f 72 64 | 20 6f 66 20 63 75 72 72 |ast word| of curr|
|000032f0| 65 6e 74 20 63 6f 6e 74 | 61 69 6e 73 20 22 28 22 |ent cont|ains "("|
|00003300| c2 0d 74 68 65 6e 20 73 | 75 62 74 72 61 63 74 20 |..then s|ubtract |
|00003310| 6f 6e 65 20 66 72 6f 6d | 20 77 6f 72 64 43 6e 74 |one from| wordCnt|
|00003320| 0d 69 66 20 4c 6f 6f 6b | 75 70 28 77 6f 72 64 20 |.if Look|up(word |
|00003330| 6f 6e 65 20 74 6f 20 77 | 6f 72 64 43 6e 74 20 6f |one to w|ordCnt o|
|00003340| 66 20 63 75 72 72 65 6e | 74 2c 43 50 55 54 61 62 |f curren|t,CPUTab|
|00003350| 6c 65 29 20 69 73 20 65 | 6d 70 74 79 20 74 68 65 |le) is e|mpty the|
|00003360| 6e 0d 77 72 69 74 65 20 | 77 6f 72 64 20 6f 6e 65 |n.write |word one|
|00003370| 20 74 6f 20 77 6f 72 64 | 43 6e 74 20 6f 66 20 63 | to word|Cnt of c|
|00003380| 75 72 72 65 6e 74 c2 0d | 26 72 65 74 75 72 6e 20 |urrent..|&return |
|00003390| 74 6f 20 66 69 6c 65 20 | 74 61 62 6c 65 50 61 74 |to file |tablePat|
|000033a0| 68 26 22 45 78 63 65 70 | 74 69 6f 6e 73 22 0d 70 |h&"Excep|tions".p|
|000033b0| 75 74 20 22 3f 3f 3f 22 | 20 62 65 66 6f 72 65 20 |ut "???"| before |
|000033c0| 63 75 72 72 65 6e 74 0d | 65 6e 64 20 69 66 0d 70 |current.|end if.p|
|000033d0| 75 74 20 63 75 72 72 65 | 6e 74 20 69 6e 74 6f 20 |ut curre|nt into |
|000033e0| 69 74 65 6d 20 69 20 6f | 66 20 69 74 0d 65 6e 64 |item i o|f it.end|
|000033f0| 20 72 65 70 65 61 74 0d | 70 75 74 20 69 74 20 69 | repeat.|put it i|
|00003400| 6e 74 6f 20 66 6c 64 20 | 22 48 61 72 64 77 61 72 |nto fld |"Hardwar|
|00003410| 65 20 55 73 65 64 22 0d | 0d 2d 2d 20 50 65 72 69 |e Used".|.-- Peri|
|00003420| 70 68 65 72 61 6c 73 0d | 67 65 74 20 46 6f 72 6d |pherals.|get Form|
|00003430| 61 74 4c 69 73 74 28 6e | 65 78 74 52 65 63 6f 72 |atList(n|extRecor|
|00003440| 64 28 64 61 74 61 46 69 | 6c 65 29 2c 74 72 75 65 |d(dataFi|le),true|
|00003450| 29 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 69 20 |).repeat| with i |
|00003460| 3d 20 31 20 74 6f 20 6e | 75 6d 62 65 72 20 6f 66 |= 1 to n|umber of|
|00003470| 20 69 74 65 6d 73 20 6f | 66 20 69 74 0d 70 75 74 | items o|f it.put|
|00003480| 20 73 74 72 69 70 28 69 | 74 65 6d 20 69 20 6f 66 | strip(i|tem i of|
|00003490| 20 69 74 29 20 69 6e 74 | 6f 20 63 75 72 72 65 6e | it) int|o curren|
|000034a0| 74 0d 70 75 74 20 6e 75 | 6d 62 65 72 20 6f 66 20 |t.put nu|mber of |
|000034b0| 77 6f 72 64 73 20 6f 66 | 20 63 75 72 72 65 6e 74 |words of| current|
|000034c0| 20 69 6e 74 6f 20 77 6f | 72 64 43 6e 74 0d 69 66 | into wo|rdCnt.if|
|000034d0| 20 66 69 72 73 74 20 63 | 68 61 72 20 6f 66 20 6c | first c|har of l|
|000034e0| 61 73 74 20 77 6f 72 64 | 20 6f 66 20 63 75 72 72 |ast word| of curr|
|000034f0| 65 6e 74 20 63 6f 6e 74 | 61 69 6e 73 20 22 28 22 |ent cont|ains "("|
|00003500| c2 0d 74 68 65 6e 20 73 | 75 62 74 72 61 63 74 20 |..then s|ubtract |
|00003510| 6f 6e 65 20 66 72 6f 6d | 20 77 6f 72 64 43 6e 74 |one from| wordCnt|
|00003520| 0d 70 75 74 20 74 72 61 | 6e 73 28 77 6f 72 64 20 |.put tra|ns(word |
|00003530| 6f 6e 65 20 74 6f 20 77 | 6f 72 64 43 6e 74 20 6f |one to w|ordCnt o|
|00003540| 66 20 63 75 72 72 65 6e | 74 2c 22 50 65 72 69 70 |f curren|t,"Perip|
|00003550| 68 65 72 61 6c 73 22 29 | c2 0d 69 6e 74 6f 20 77 |herals")|..into w|
|00003560| 6f 72 64 20 6f 6e 65 20 | 74 6f 20 77 6f 72 64 43 |ord one |to wordC|
|00003570| 6e 74 20 6f 66 20 63 75 | 72 72 65 6e 74 0d 70 75 |nt of cu|rrent.pu|
|00003580| 74 20 6e 75 6d 62 65 72 | 20 6f 66 20 77 6f 72 64 |t number| of word|
|00003590| 73 20 6f 66 20 63 75 72 | 72 65 6e 74 20 69 6e 74 |s of cur|rent int|
|000035a0| 6f 20 77 6f 72 64 43 6e | 74 0d 69 66 20 66 69 72 |o wordCn|t.if fir|
|000035b0| 73 74 20 63 68 61 72 20 | 6f 66 20 6c 61 73 74 20 |st char |of last |
|000035c0| 77 6f 72 64 20 6f 66 20 | 63 75 72 72 65 6e 74 20 |word of |current |
|000035d0| 63 6f 6e 74 61 69 6e 73 | 20 22 28 22 c2 0d 74 68 |contains| "("..th|
|000035e0| 65 6e 20 73 75 62 74 72 | 61 63 74 20 6f 6e 65 20 |en subtr|act one |
|000035f0| 66 72 6f 6d 20 77 6f 72 | 64 43 6e 74 0d 69 66 20 |from wor|dCnt.if |
|00003600| 4c 6f 6f 6b 75 70 28 77 | 6f 72 64 20 6f 6e 65 20 |Lookup(w|ord one |
|00003610| 74 6f 20 77 6f 72 64 43 | 6e 74 20 6f 66 20 63 75 |to wordC|nt of cu|
|00003620| 72 72 65 6e 74 2c 50 65 | 72 54 61 62 6c 65 29 20 |rrent,Pe|rTable) |
|00003630| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 0d 77 72 |is empty| then.wr|
|00003640| 69 74 65 20 77 6f 72 64 | 20 6f 6e 65 20 74 6f 20 |ite word| one to |
|00003650| 77 6f 72 64 43 6e 74 20 | 6f 66 20 63 75 72 72 65 |wordCnt |of curre|
|00003660| 6e 74 c2 0d 26 72 65 74 | 75 72 6e 20 74 6f 20 66 |nt..&ret|urn to f|
|00003670| 69 6c 65 20 74 61 62 6c | 65 50 61 74 68 26 22 45 |ile tabl|ePath&"E|
|00003680| 78 63 65 70 74 69 6f 6e | 73 22 0d 70 75 74 20 22 |xception|s".put "|
|00003690| 3f 3f 3f 22 20 62 65 66 | 6f 72 65 20 63 75 72 72 |???" bef|ore curr|
|000036a0| 65 6e 74 0d 65 6e 64 20 | 69 66 0d 70 75 74 20 63 |ent.end |if.put c|
|000036b0| 75 72 72 65 6e 74 20 69 | 6e 74 6f 20 69 74 65 6d |urrent i|nto item|
|000036c0| 20 69 20 6f 66 20 69 74 | 0d 65 6e 64 20 72 65 70 | i of it|.end rep|
|000036d0| 65 61 74 0d 70 75 74 20 | 69 74 20 69 6e 74 6f 20 |eat.put |it into |
|000036e0| 66 6c 64 20 22 50 65 72 | 69 70 68 65 72 61 6c 73 |fld "Per|ipherals|
|000036f0| 22 0d 0d 2d 2d 20 53 6f | 66 74 77 61 72 65 20 61 |"..-- So|ftware a|
|00003700| 6e 64 20 41 70 70 6c 69 | 63 61 74 69 6f 6e 0d 67 |nd Appli|cation.g|
|00003710| 65 74 20 6e 65 78 74 52 | 65 63 6f 72 64 28 64 61 |et nextR|ecord(da|
|00003720| 74 61 46 69 6c 65 2c 32 | 29 0d 46 6f 72 6d 61 74 |taFile,2|).Format|
|00003730| 41 6e 64 53 70 6c 69 74 | 20 69 74 0d 0d 2d 2d 20 |AndSplit| it..-- |
|00003740| 4d 61 72 6b 65 74 20 28 | 49 6e 64 75 73 74 72 79 |Market (|Industry|
|00003750| 29 0d 67 65 74 20 66 6f | 72 6d 61 74 4c 69 73 74 |).get fo|rmatList|
|00003760| 28 6e 65 78 74 52 65 63 | 6f 72 64 28 64 61 74 61 |(nextRec|ord(data|
|00003770| 46 69 6c 65 29 29 0d 72 | 65 70 65 61 74 20 77 69 |File)).r|epeat wi|
|00003780| 74 68 20 69 20 3d 20 31 | 20 74 6f 20 6e 75 6d 62 |th i = 1| to numb|
|00003790| 65 72 20 6f 66 20 69 74 | 65 6d 73 20 6f 66 20 69 |er of it|ems of i|
|000037a0| 74 0d 70 75 74 20 74 72 | 61 6e 73 28 69 74 65 6d |t.put tr|ans(item|
|000037b0| 20 69 20 6f 66 20 69 74 | 2c 22 69 6e 64 75 73 74 | i of it|,"indust|
|000037c0| 72 79 22 29 20 69 6e 74 | 6f 20 69 74 65 6d 20 69 |ry") int|o item i|
|000037d0| 20 6f 66 20 69 74 0d 69 | 66 20 4c 6f 6f 6b 75 70 | of it.i|f Lookup|
|000037e0| 28 69 74 65 6d 20 69 20 | 6f 66 20 69 74 2c 49 6e |(item i |of it,In|
|000037f0| 64 54 61 62 6c 65 29 20 | 69 73 20 65 6d 70 74 79 |dTable) |is empty|
|00003800| c2 0d 74 68 65 6e 20 70 | 75 74 20 22 3f 3f 3f 22 |..then p|ut "???"|
|00003810| 20 62 65 66 6f 72 65 20 | 69 74 65 6d 20 69 20 6f | before |item i o|
|00003820| 66 20 69 74 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |f it.end| repeat.|
|00003830| 70 75 74 20 69 74 20 69 | 6e 74 6f 20 66 6c 64 20 |put it i|nto fld |
|00003840| 4d 61 72 6b 65 74 0d 0d | 2d 2d 20 43 6f 6d 70 61 |Market..|-- Compa|
|00003850| 6e 79 0d 70 75 74 20 6e | 65 78 74 52 65 63 6f 72 |ny.put n|extRecor|
|00003860| 64 28 64 61 74 61 46 69 | 6c 65 2c 36 29 20 69 6e |d(dataFi|le,6) in|
|00003870| 74 6f 20 66 6c 64 20 22 | 63 6f 6d 70 61 6e 79 20 |to fld "|company |
|00003880| 6e 61 6d 65 22 0d 2d 2d | 73 65 74 20 6e 61 6d 65 |name".--|set name|
|00003890| 20 6f 66 20 74 68 69 73 | 20 63 64 20 74 6f 20 63 | of this| cd to c|
|000038a0| 68 61 72 20 31 20 74 6f | 20 32 35 20 6f 66 20 66 |har 1 to| 25 of f|
|000038b0| 6c 64 20 22 43 6f 6d 70 | 61 6e 79 20 4e 61 6d 65 |ld "Comp|any Name|
|000038c0| 22 0d 0d 2d 2d 20 44 65 | 70 61 72 74 6d 65 6e 74 |"..-- De|partment|
|000038d0| 0d 67 65 74 20 66 6f 72 | 6d 61 74 4c 69 73 74 28 |.get for|matList(|
|000038e0| 6e 65 78 74 52 65 63 6f | 72 64 28 64 61 74 61 46 |nextReco|rd(dataF|
|000038f0| 69 6c 65 29 29 0d 72 65 | 70 65 61 74 20 77 69 74 |ile)).re|peat wit|
|00003900| 68 20 69 20 3d 20 31 20 | 74 6f 20 6e 75 6d 62 65 |h i = 1 |to numbe|
|00003910| 72 20 6f 66 20 69 74 65 | 6d 73 20 6f 66 20 69 74 |r of ite|ms of it|
|00003920| 0d 70 75 74 20 74 72 61 | 6e 73 28 69 74 65 6d 20 |.put tra|ns(item |
|00003930| 69 20 6f 66 20 69 74 2c | 22 44 65 70 61 72 74 6d |i of it,|"Departm|
|00003940| 65 6e 74 22 29 20 69 6e | 74 6f 20 69 74 65 6d 20 |ent") in|to item |
|00003950| 69 20 6f 66 20 69 74 0d | 69 66 20 4c 6f 6f 6b 75 |i of it.|if Looku|
|00003960| 70 28 69 74 65 6d 20 69 | 20 6f 66 20 69 74 2c 44 |p(item i| of it,D|
|00003970| 65 70 74 54 61 62 6c 65 | 29 20 69 73 20 65 6d 70 |eptTable|) is emp|
|00003980| 74 79 c2 0d 74 68 65 6e | 20 70 75 74 20 22 3f 3f |ty..then| put "??|
|00003990| 3f 22 20 62 65 66 6f 72 | 65 20 69 74 65 6d 20 69 |?" befor|e item i|
|000039a0| 20 6f 66 20 69 74 0d 65 | 6e 64 20 72 65 70 65 61 | of it.e|nd repea|
|000039b0| 74 0d 70 75 74 20 69 74 | 20 69 6e 74 6f 20 66 6c |t.put it| into fl|
|000039c0| 64 20 22 74 68 69 73 20 | 44 65 70 61 72 74 6d 65 |d "this |Departme|
|000039d0| 6e 74 22 0d 0d 2d 2d 20 | 4c 6f 63 61 74 69 6f 6e |nt"..-- |Location|
|000039e0| 0d 70 75 74 20 6e 65 78 | 74 52 65 63 6f 72 64 28 |.put nex|tRecord(|
|000039f0| 64 61 74 61 46 69 6c 65 | 2c 33 29 20 69 6e 74 6f |dataFile|,3) into|
|00003a00| 20 43 69 74 79 0d 70 75 | 74 20 6e 65 78 74 52 65 | City.pu|t nextRe|
|00003a10| 63 6f 72 64 28 64 61 74 | 61 46 69 6c 65 29 20 69 |cord(dat|aFile) i|
|00003a20| 6e 74 6f 20 53 74 61 74 | 65 0d 70 75 74 20 43 69 |nto Stat|e.put Ci|
|00003a30| 74 79 26 22 2c 22 26 26 | 53 74 61 74 65 20 69 6e |ty&","&&|State in|
|00003a40| 74 6f 20 66 6c 64 20 4c | 6f 63 61 74 69 6f 6e 0d |to fld L|ocation.|
|00003a50| 0d 2d 2d 20 53 69 7a 65 | 0d 70 75 74 20 6e 65 78 |.-- Size|.put nex|
|00003a60| 74 52 65 63 6f 72 64 28 | 64 61 74 61 46 69 6c 65 |tRecord(|dataFile|
|00003a70| 2c 31 38 29 20 69 6e 74 | 6f 20 66 6c 64 20 22 43 |,18) int|o fld "C|
|00003a80| 6f 6d 70 61 6e 79 20 53 | 69 7a 65 22 0d 0d 2d 2d |ompany S|ize"..--|
|00003a90| 20 4e 75 6d 62 65 72 20 | 6f 66 20 4d 61 63 73 0d | Number |of Macs.|
|00003aa0| 70 75 74 20 6d 61 63 52 | 61 6e 67 65 28 6e 65 78 |put macR|ange(nex|
|00003ab0| 74 52 65 63 6f 72 64 28 | 64 61 74 61 46 69 6c 65 |tRecord(|dataFile|
|00003ac0| 2c 33 29 29 c2 0d 69 6e | 74 6f 20 66 6c 64 20 22 |,3))..in|to fld "|
|00003ad0| 6e 75 6d 62 65 72 20 6f | 66 20 4d 61 63 73 22 0d |number o|f Macs".|
|00003ae0| 0d 2d 2d 20 4f 50 53 20 | 41 72 65 61 0d 67 65 74 |.-- OPS |Area.get|
|00003af0| 20 6e 65 78 74 52 65 63 | 6f 72 64 28 64 61 74 61 | nextRec|ord(data|
|00003b00| 46 69 6c 65 2c 36 29 0d | 72 65 61 64 20 66 72 6f |File,6).|read fro|
|00003b10| 6d 20 66 69 6c 65 20 64 | 61 74 61 46 69 6c 65 20 |m file d|ataFile |
|00003b20| 75 6e 74 69 6c 20 6c 69 | 6e 65 46 65 65 64 0d 64 |until li|neFeed.d|
|00003b30| 65 6c 65 74 65 20 6c 61 | 73 74 20 63 68 61 72 20 |elete la|st char |
|00003b40| 6f 66 20 69 74 0d 70 75 | 74 20 69 74 20 69 6e 74 |of it.pu|t it int|
|00003b50| 6f 20 66 6c 64 20 22 4f | 50 53 20 41 72 65 61 22 |o fld "O|PS Area"|
|00003b60| 0d 0d 2d 2d 20 63 72 65 | 61 74 65 20 6e 65 78 74 |..-- cre|ate next|
|00003b70| 20 63 61 72 64 0d 75 6e | 6c 6f 63 6b 20 73 63 72 | card.un|lock scr|
|00003b80| 65 65 6e 0d 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |een.lock| screen.|
|00003b90| 74 79 70 65 20 22 4e 22 | 20 77 69 74 68 20 43 6f |type "N"| with Co|
|00003ba0| 6d 6d 61 6e 64 4b 65 79 | 0d 65 6e 64 20 72 65 70 |mmandKey|.end rep|
|00003bb0| 65 61 74 0d 2d 2d 20 43 | 6c 65 61 6e 20 75 70 0d |eat.-- C|lean up.|
|00003bc0| 43 6c 6f 73 65 20 66 69 | 6c 65 20 64 61 74 61 46 |Close fi|le dataF|
|00003bd0| 69 6c 65 0d 73 6f 72 74 | 20 62 79 20 66 6c 64 20 |ile.sort| by fld |
|00003be0| 22 43 6f 6d 70 61 6e 79 | 20 4e 61 6d 65 22 0d 63 |"Company| Name".c|
|00003bf0| 6c 6f 73 65 20 66 69 6c | 65 20 74 61 62 6c 65 50 |lose fil|e tableP|
|00003c00| 61 74 68 26 22 45 78 63 | 65 70 74 69 6f 6e 73 22 |ath&"Exc|eptions"|
|00003c10| 0d 70 6c 61 79 20 22 47 | 6f 6f 66 65 64 20 75 70 |.play "G|oofed up|
|00003c20| 22 0d 65 6e 64 20 64 61 | 74 61 49 6d 70 6f 72 74 |".end da|taImport|
|00003c30| 0d 0d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |..------|--------|
|00003c40| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003c50| 2d 20 6e 65 78 74 52 65 | 63 6f 72 64 20 2d 2d 2d |- nextRe|cord ---|
|00003c60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003c70| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 0d 0d 46 75 6e 63 |--------|--..Func|
|00003c80| 74 69 6f 6e 20 6e 65 78 | 74 52 65 63 6f 72 64 20 |tion nex|tRecord |
|00003c90| 74 68 65 46 69 6c 65 2c | 6e 65 78 74 52 65 63 0d |theFile,|nextRec.|
|00003ca0| 67 6c 6f 62 61 6c 20 63 | 6f 75 6e 74 2c 45 6e 64 |global c|ount,End|
|00003cb0| 4f 66 46 69 6c 65 0d 69 | 66 20 63 6f 75 6e 74 20 |OfFile.i|f count |
|00003cc0| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 20 70 75 |is empty| then pu|
|00003cd0| 74 20 7a 65 72 6f 20 69 | 6e 74 6f 20 63 6f 75 6e |t zero i|nto coun|
|00003ce0| 74 0d 69 66 20 6e 65 78 | 74 52 65 63 20 69 73 20 |t.if nex|tRec is |
|00003cf0| 65 6d 70 74 79 20 74 68 | 65 6e 20 70 75 74 20 6f |empty th|en put o|
|00003d00| 6e 65 20 69 6e 74 6f 20 | 6e 65 78 74 52 65 63 0d |ne into |nextRec.|
|00003d10| 72 65 70 65 61 74 20 77 | 69 74 68 20 69 20 3d 20 |repeat w|ith i = |
|00003d20| 31 20 74 6f 20 6e 65 78 | 74 52 65 63 0d 72 65 61 |1 to nex|tRec.rea|
|00003d30| 64 20 66 72 6f 6d 20 66 | 69 6c 65 20 74 68 65 46 |d from f|ile theF|
|00003d40| 69 6c 65 20 75 6e 74 69 | 6c 20 74 61 62 0d 69 66 |ile unti|l tab.if|
|00003d50| 20 69 74 20 69 73 20 65 | 6d 70 74 79 20 74 68 65 | it is e|mpty the|
|00003d60| 6e 0d 70 75 74 20 74 72 | 75 65 20 69 6e 74 6f 20 |n.put tr|ue into |
|00003d70| 45 6e 64 4f 66 46 69 6c | 65 0d 72 65 74 75 72 6e |EndOfFil|e.return|
|00003d80| 20 65 6d 70 74 79 0d 65 | 6e 64 20 69 66 0d 61 64 | empty.e|nd if.ad|
|00003d90| 64 20 6f 6e 65 20 74 6f | 20 63 6f 75 6e 74 0d 65 |d one to| count.e|
|00003da0| 6e 64 20 72 65 70 65 61 | 74 0d 64 65 6c 65 74 65 |nd repea|t.delete|
|00003db0| 20 6c 61 73 74 20 63 68 | 61 72 20 6f 66 20 69 74 | last ch|ar of it|
|00003dc0| 0d 72 65 74 75 72 6e 20 | 69 74 0d 65 6e 64 20 6e |.return |it.end n|
|00003dd0| 65 78 74 52 65 63 6f 72 | 64 0d 0d 2d 2d 2d 2d 2d |extRecor|d..-----|
|00003de0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003df0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 20 46 6f 72 6d 61 |--------|-- Forma|
|00003e00| 74 4c 69 73 74 20 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |tList --|--------|
|00003e10| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003e20| 2d 2d 2d 0d 0d 66 75 6e | 63 74 69 6f 6e 20 46 6f |---..fun|ction Fo|
|00003e30| 72 6d 61 74 4c 69 73 74 | 20 74 68 65 4c 69 73 74 |rmatList| theList|
|00003e40| 2c 68 61 73 4e 75 6d 0d | 69 66 20 68 61 73 4e 75 |,hasNum.|if hasNu|
|00003e50| 6d 20 69 73 20 65 6d 70 | 74 79 20 74 68 65 6e 20 |m is emp|ty then |
|00003e60| 70 75 74 20 66 61 6c 73 | 65 20 69 6e 74 6f 20 68 |put fals|e into h|
|00003e70| 61 73 4e 75 6d 0d 72 65 | 70 65 61 74 20 77 68 69 |asNum.re|peat whi|
|00003e80| 6c 65 20 74 68 65 4c 69 | 73 74 20 63 6f 6e 74 61 |le theLi|st conta|
|00003e90| 69 6e 73 20 22 7e 22 0d | 70 75 74 20 22 2c 22 20 |ins "~".|put "," |
|00003ea0| 69 6e 74 6f 20 63 68 61 | 72 20 6f 66 66 73 65 74 |into cha|r offset|
|00003eb0| 28 22 7e 22 2c 74 68 65 | 4c 69 73 74 29 20 6f 66 |("~",the|List) of|
|00003ec0| 20 74 68 65 4c 69 73 74 | 0d 65 6e 64 20 72 65 70 | theList|.end rep|
|00003ed0| 65 61 74 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |eat.put |empty in|
|00003ee0| 74 6f 20 74 68 65 52 65 | 73 75 6c 74 0d 72 65 70 |to theRe|sult.rep|
|00003ef0| 65 61 74 20 77 69 74 68 | 20 63 75 72 72 20 3d 20 |eat with| curr = |
|00003f00| 31 20 74 6f 20 6e 75 6d | 62 65 72 20 6f 66 20 69 |1 to num|ber of i|
|00003f10| 74 65 6d 73 20 6f 66 20 | 74 68 65 4c 69 73 74 0d |tems of |theList.|
|00003f20| 67 65 74 20 69 74 65 6d | 20 63 75 72 72 20 6f 66 |get item| curr of|
|00003f30| 20 74 68 65 4c 69 73 74 | 0d 69 66 20 68 61 73 4e | theList|.if hasN|
|00003f40| 75 6d 20 74 68 65 6e 0d | 69 66 20 6c 61 73 74 20 |um then.|if last |
|00003f50| 77 6f 72 64 20 6f 66 20 | 69 74 20 69 73 20 30 20 |word of |it is 0 |
|00003f60| 74 68 65 6e 0d 64 65 6c | 65 74 65 20 6c 61 73 74 |then.del|ete last|
|00003f70| 20 77 6f 72 64 20 6f 66 | 20 69 74 0d 65 6c 73 65 | word of| it.else|
|00003f80| 0d 70 75 74 20 22 28 22 | 20 62 65 66 6f 72 65 20 |.put "("| before |
|00003f90| 6c 61 73 74 20 77 6f 72 | 64 20 6f 66 20 69 74 0d |last wor|d of it.|
|00003fa0| 70 75 74 20 22 29 22 20 | 61 66 74 65 72 20 6c 61 |put ")" |after la|
|00003fb0| 73 74 20 77 6f 72 64 20 | 6f 66 20 69 74 0d 65 6e |st word |of it.en|
|00003fc0| 64 20 69 66 0d 65 6e 64 | 20 69 66 0d 70 75 74 20 |d if.end| if.put |
|00003fd0| 69 74 26 22 2c 22 20 61 | 66 74 65 72 20 74 68 65 |it&"," a|fter the|
|00003fe0| 52 65 73 75 6c 74 0d 65 | 6e 64 20 72 65 70 65 61 |Result.e|nd repea|
|00003ff0| 74 0d 69 66 20 74 68 65 | 52 65 73 75 6c 74 20 69 |t.if the|Result i|
|00004000| 73 20 6e 6f 74 20 65 6d | 70 74 79 20 74 68 65 6e |s not em|pty then|
|00004010| 20 64 65 6c 65 74 65 20 | 6c 61 73 74 20 63 68 61 | delete |last cha|
|00004020| 72 20 6f 66 20 74 68 65 | 52 65 73 75 6c 74 0d 72 |r of the|Result.r|
|00004030| 65 74 75 72 6e 20 74 68 | 65 52 65 73 75 6c 74 0d |eturn th|eResult.|
|00004040| 65 6e 64 20 46 6f 72 6d | 61 74 4c 69 73 74 0d 0d |end Form|atList..|
|00004050| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004060| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 20 46 6f |--------|----- Fo|
|00004070| 72 6d 61 74 41 6e 64 53 | 70 6c 69 74 20 2d 2d 2d |rmatAndS|plit ---|
|00004080| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004090| 2d 2d 2d 2d 2d 2d 2d 2d | 0d 0d 6f 6e 20 46 6f 72 |--------|..on For|
|000040a0| 6d 61 74 41 6e 64 53 70 | 6c 69 74 20 74 68 65 4c |matAndSp|lit theL|
|000040b0| 69 73 74 0d 67 6c 6f 62 | 61 6c 20 73 6f 66 74 77 |ist.glob|al softw|
|000040c0| 61 72 65 54 61 62 6c 65 | 2c 61 70 70 54 61 62 6c |areTable|,appTabl|
|000040d0| 65 0d 72 65 70 65 61 74 | 20 77 68 69 6c 65 20 74 |e.repeat| while t|
|000040e0| 68 65 4c 69 73 74 20 63 | 6f 6e 74 61 69 6e 73 20 |heList c|ontains |
|000040f0| 22 7e 22 0d 70 75 74 20 | 22 2c 22 20 69 6e 74 6f |"~".put |"," into|
|00004100| 20 63 68 61 72 20 6f 66 | 66 73 65 74 28 22 7e 22 | char of|fset("~"|
|00004110| 2c 74 68 65 4c 69 73 74 | 29 20 6f 66 20 74 68 65 |,theList|) of the|
|00004120| 4c 69 73 74 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |List.end| repeat.|
|00004130| 72 65 70 65 61 74 20 77 | 69 74 68 20 63 75 72 72 |repeat w|ith curr|
|00004140| 20 3d 20 31 20 74 6f 20 | 6e 75 6d 62 65 72 20 6f | = 1 to |number o|
|00004150| 66 20 69 74 65 6d 73 20 | 6f 66 20 74 68 65 4c 69 |f items |of theLi|
|00004160| 73 74 0d 70 75 74 20 74 | 72 61 6e 73 28 69 74 65 |st.put t|rans(ite|
|00004170| 6d 20 63 75 72 72 20 6f | 66 20 74 68 65 4c 69 73 |m curr o|f theLis|
|00004180| 74 2c 22 53 6f 66 74 2f | 41 70 70 22 29 20 69 6e |t,"Soft/|App") in|
|00004190| 74 6f 20 69 74 65 6d 20 | 63 75 72 72 20 6f 66 20 |to item |curr of |
|000041a0| 74 68 65 4c 69 73 74 0d | 65 6e 64 20 72 65 70 65 |theList.|end repe|
|000041b0| 61 74 0d 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 |at.put e|mpty int|
|000041c0| 6f 20 73 6f 66 74 77 61 | 72 65 0d 70 75 74 20 65 |o softwa|re.put e|
|000041d0| 6d 70 74 79 20 69 6e 74 | 6f 20 61 70 70 6c 69 63 |mpty int|o applic|
|000041e0| 61 74 69 6f 6e 0d 72 65 | 70 65 61 74 20 77 69 74 |ation.re|peat wit|
|000041f0| 68 20 63 75 72 72 20 3d | 20 31 20 74 6f 20 6e 75 |h curr =| 1 to nu|
|00004200| 6d 62 65 72 20 6f 66 20 | 69 74 65 6d 73 20 6f 66 |mber of |items of|
|00004210| 20 74 68 65 4c 69 73 74 | 0d 67 65 74 20 69 74 65 | theList|.get ite|
|00004220| 6d 20 63 75 72 72 20 6f | 66 20 74 68 65 4c 69 73 |m curr o|f theLis|
|00004230| 74 0d 69 66 20 69 74 20 | 69 73 20 73 70 61 63 65 |t.if it |is space|
|00004240| 20 74 68 65 6e 20 6e 65 | 78 74 20 72 65 70 65 61 | then ne|xt repea|
|00004250| 74 0d 70 75 74 20 73 74 | 72 69 70 28 69 74 29 20 |t.put st|rip(it) |
|00004260| 69 6e 74 6f 20 69 74 0d | 2d 2d 70 75 74 20 74 72 |into it.|--put tr|
|00004270| 61 6e 73 28 69 74 2c 22 | 53 6f 66 74 2f 41 70 70 |ans(it,"|Soft/App|
|00004280| 22 29 20 69 6e 74 6f 20 | 69 74 0d 70 75 74 20 4c |") into |it.put L|
|00004290| 6f 6f 6b 75 70 28 69 74 | 2c 41 70 70 54 61 62 6c |ookup(it|,AppTabl|
|000042a0| 65 29 20 69 6e 74 6f 20 | 74 68 65 41 70 70 0d 70 |e) into |theApp.p|
|000042b0| 75 74 20 4c 6f 6f 6b 75 | 70 28 69 74 2c 53 6f 66 |ut Looku|p(it,Sof|
|000042c0| 74 77 61 72 65 54 61 62 | 6c 65 29 20 69 6e 74 6f |twareTab|le) into|
|000042d0| 20 74 68 65 53 6f 66 74 | 0d 69 66 20 28 74 68 65 | theSoft|.if (the|
|000042e0| 41 70 70 20 69 73 20 6e | 6f 74 20 65 6d 70 74 79 |App is n|ot empty|
|000042f0| 29 20 74 68 65 6e 0d 69 | 66 20 28 74 68 65 41 70 |) then.i|f (theAp|
|00004300| 70 20 69 73 20 6e 6f 74 | 20 69 6e 20 61 70 70 6c |p is not| in appl|
|00004310| 69 63 61 74 69 6f 6e 29 | 20 74 68 65 6e 0d 69 66 |ication)| then.if|
|00004320| 20 47 65 74 49 6e 64 65 | 78 50 61 74 68 28 74 68 | GetInde|xPath(th|
|00004330| 65 41 70 70 29 20 63 6f | 6e 74 61 69 6e 73 20 22 |eApp) co|ntains "|
|00004340| 3b 22 c2 0d 74 68 65 6e | 20 70 75 74 20 74 68 65 |;"..then| put the|
|00004350| 41 70 70 26 22 2c 22 20 | 61 66 74 65 72 20 61 70 |App&"," |after ap|
|00004360| 70 6c 69 63 61 74 69 6f | 6e 0d 65 6e 64 20 69 66 |plicatio|n.end if|
|00004370| 0d 65 6c 73 65 20 69 66 | 20 74 68 65 53 6f 66 74 |.else if| theSoft|
|00004380| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 20 74 68 | is not |empty th|
|00004390| 65 6e 20 70 75 74 20 74 | 68 65 53 6f 66 74 26 22 |en put t|heSoft&"|
|000043a0| 2c 22 20 61 66 74 65 72 | 20 73 6f 66 74 77 61 72 |," after| softwar|
|000043b0| 65 0d 65 6c 73 65 20 70 | 75 74 20 69 74 26 72 65 |e.else p|ut it&re|
|000043c0| 74 75 72 6e 20 61 66 74 | 65 72 20 66 6c 64 20 75 |turn aft|er fld u|
|000043d0| 6e 6b 6e 6f 77 6e 0d 65 | 6e 64 20 72 65 70 65 61 |nknown.e|nd repea|
|000043e0| 74 0d 69 66 20 73 6f 66 | 74 77 61 72 65 20 69 73 |t.if sof|tware is|
|000043f0| 20 6e 6f 74 20 65 6d 70 | 74 79 c2 0d 74 68 65 6e | not emp|ty..then|
|00004400| 20 70 75 74 20 63 68 61 | 72 20 6f 6e 65 20 74 6f | put cha|r one to|
|00004410| 20 6c 65 6e 67 74 68 28 | 73 6f 66 74 77 61 72 65 | length(|software|
|00004420| 29 2d 31 20 6f 66 20 73 | 6f 66 74 77 61 72 65 c2 |)-1 of s|oftware.|
|00004430| 0d 69 6e 74 6f 20 66 6c | 64 20 22 53 6f 66 74 77 |.into fl|d "Softw|
|00004440| 61 72 65 20 55 73 65 64 | 22 0d 69 66 20 61 70 70 |are Used|".if app|
|00004450| 6c 69 63 61 74 69 6f 6e | 20 69 73 20 6e 6f 74 20 |lication| is not |
|00004460| 65 6d 70 74 79 c2 0d 74 | 68 65 6e 20 70 75 74 20 |empty..t|hen put |
|00004470| 63 68 61 72 20 6f 6e 65 | 20 74 6f 20 6c 65 6e 67 |char one| to leng|
|00004480| 74 68 28 61 70 70 6c 69 | 63 61 74 69 6f 6e 29 2d |th(appli|cation)-|
|00004490| 31 20 6f 66 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |1 of app|lication|
|000044a0| c2 0d 69 6e 74 6f 20 66 | 6c 64 20 22 61 70 70 6c |..into f|ld "appl|
|000044b0| 69 63 61 74 69 6f 6e 73 | 22 0d 65 6e 64 20 46 6f |ications|".end Fo|
|000044c0| 72 6d 61 74 41 6e 64 53 | 70 6c 69 74 0d 0d 2d 2d |rmatAndS|plit..--|
|000044d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000044e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000044f0| 20 74 72 61 6e 73 20 2d | 2d 2d 2d 2d 2d 2d 2d 2d | trans -|--------|
|00004500| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004510| 2d 2d 2d 2d 2d 2d 0d 0d | 66 75 6e 63 74 69 6f 6e |------..|function|
|00004520| 20 74 72 61 6e 73 20 74 | 68 65 4b 65 79 2c 77 68 | trans t|heKey,wh|
|00004530| 69 63 68 54 61 62 6c 65 | 0d 67 6c 6f 62 61 6c 20 |ichTable|.global |
|00004540| 74 61 62 6c 65 50 61 74 | 68 0d 2d 2d 67 6c 6f 62 |tablePat|h.--glob|
|00004550| 61 6c 20 74 72 61 6e 73 | 6c 61 74 65 54 61 62 6c |al trans|lateTabl|
|00004560| 65 0d 70 75 74 20 74 61 | 62 6c 65 50 61 74 68 26 |e.put ta|blePath&|
|00004570| 77 68 69 63 68 54 61 62 | 6c 65 26 26 22 54 72 61 |whichTab|le&&"Tra|
|00004580| 6e 73 22 20 69 6e 74 6f | 20 54 61 62 6c 65 46 69 |ns" into| TableFi|
|00004590| 6c 65 0d 6f 70 65 6e 20 | 66 69 6c 65 20 74 61 62 |le.open |file tab|
|000045a0| 6c 65 46 69 6c 65 0d 72 | 65 61 64 20 66 72 6f 6d |leFile.r|ead from|
|000045b0| 20 66 69 6c 65 20 74 61 | 62 6c 65 46 69 6c 65 20 | file ta|bleFile |
|000045c0| 66 6f 72 20 31 36 33 38 | 34 0d 63 6c 6f 73 65 20 |for 1638|4.close |
|000045d0| 66 69 6c 65 20 74 61 62 | 6c 65 46 69 6c 65 0d 69 |file tab|leFile.i|
|000045e0| 66 20 69 74 20 69 73 20 | 65 6d 70 74 79 20 74 68 |f it is |empty th|
|000045f0| 65 6e 20 72 65 74 75 72 | 6e 20 74 68 65 4b 65 79 |en retur|n theKey|
|00004600| 0d 70 75 74 20 69 74 20 | 69 6e 74 6f 20 74 72 61 |.put it |into tra|
|00004610| 6e 73 6c 61 74 65 54 61 | 62 6c 65 0d 70 75 74 20 |nslateTa|ble.put |
|00004620| 73 74 72 69 70 28 74 68 | 65 4b 65 79 29 20 69 6e |strip(th|eKey) in|
|00004630| 74 6f 20 74 68 65 4b 65 | 79 0d 67 65 74 20 6f 66 |to theKe|y.get of|
|00004640| 66 73 65 74 28 72 65 74 | 75 72 6e 26 74 68 65 4b |fset(ret|urn&theK|
|00004650| 65 79 26 22 2c 22 2c 74 | 72 61 6e 73 6c 61 74 65 |ey&",",t|ranslate|
|00004660| 54 61 62 6c 65 29 0d 69 | 66 20 69 74 20 69 73 20 |Table).i|f it is |
|00004670| 7a 65 72 6f 20 74 68 65 | 6e 0d 72 65 74 75 72 6e |zero the|n.return|
|00004680| 20 74 68 65 4b 65 79 0d | 65 78 69 74 20 74 72 61 | theKey.|exit tra|
|00004690| 6e 73 0d 65 6e 64 20 69 | 66 0d 70 75 74 20 6e 75 |ns.end i|f.put nu|
|000046a0| 6d 62 65 72 20 6f 66 20 | 6c 69 6e 65 73 20 6f 66 |mber of |lines of|
|000046b0| 20 28 63 68 61 72 20 31 | 20 74 6f 20 69 74 20 6f | (char 1| to it o|
|000046c0| 66 20 74 72 61 6e 73 6c | 61 74 65 54 61 62 6c 65 |f transl|ateTable|
|000046d0| 29 20 2b 20 31 c2 0d 69 | 6e 74 6f 20 74 68 65 4c |) + 1..i|nto theL|
|000046e0| 69 6e 65 0d 67 65 74 20 | 6c 69 6e 65 20 74 68 65 |ine.get |line the|
|000046f0| 6c 69 6e 65 20 6f 66 20 | 74 72 61 6e 73 6c 61 74 |line of |translat|
|00004700| 65 54 61 62 6c 65 0d 64 | 65 6c 65 74 65 20 66 69 |eTable.d|elete fi|
|00004710| 72 73 74 20 69 74 65 6d | 20 6f 66 20 69 74 0d 72 |rst item| of it.r|
|00004720| 65 74 75 72 6e 20 69 74 | 0d 65 6e 64 20 74 72 61 |eturn it|.end tra|
|00004730| 6e 73 0d 0d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |ns..----|--------|
|00004740| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004750| 2d 2d 2d 20 4c 6f 61 64 | 54 61 62 6c 65 73 20 2d |--- Load|Tables -|
|00004760| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004770| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0d 0d 6f 6e |--------|----..on|
|00004780| 20 4c 6f 61 64 54 61 62 | 6c 65 73 0d 67 6c 6f 62 | LoadTab|les.glob|
|00004790| 61 6c 20 73 6f 66 74 77 | 61 72 65 54 61 62 6c 65 |al softw|areTable|
|000047a0| 2c 61 70 70 54 61 62 6c | 65 2c 43 50 55 54 61 62 |,appTabl|e,CPUTab|
|000047b0| 6c 65 2c 44 65 70 74 54 | 61 62 6c 65 2c 49 6e 64 |le,DeptT|able,Ind|
|000047c0| 54 61 62 6c 65 2c 50 65 | 72 54 61 62 6c 65 0d 67 |Table,Pe|rTable.g|
|000047d0| 6c 6f 62 61 6c 20 54 72 | 61 6e 73 6c 61 74 65 54 |lobal Tr|anslateT|
|000047e0| 61 62 6c 65 2c 74 61 62 | 6c 65 50 61 74 68 0d 69 |able,tab|lePath.i|
|000047f0| 66 20 74 61 62 6c 65 50 | 61 74 68 20 69 73 20 65 |f tableP|ath is e|
|00004800| 6d 70 74 79 20 74 68 65 | 6e 0d 67 65 74 20 66 69 |mpty the|n.get fi|
|00004810| 6c 65 6e 61 6d 65 28 29 | 0d 69 66 20 69 74 20 69 |lename()|.if it i|
|00004820| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 0d 62 65 65 |s empty |then.bee|
|00004830| 70 0d 65 78 69 74 20 74 | 6f 20 48 79 70 65 72 43 |p.exit t|o HyperC|
|00004840| 61 72 64 0d 65 6e 64 20 | 69 66 0d 72 65 70 65 61 |ard.end |if.repea|
|00004850| 74 20 75 6e 74 69 6c 20 | 6c 61 73 74 20 63 68 61 |t until |last cha|
|00004860| 72 20 6f 66 20 69 74 20 | 69 73 20 22 3a 22 0d 64 |r of it |is ":".d|
|00004870| 65 6c 65 74 65 20 6c 61 | 73 74 20 63 68 61 72 20 |elete la|st char |
|00004880| 6f 66 20 69 74 0d 65 6e | 64 20 72 65 70 65 61 74 |of it.en|d repeat|
|00004890| 0d 70 75 74 20 69 74 20 | 69 6e 74 6f 20 74 61 62 |.put it |into tab|
|000048a0| 6c 65 50 61 74 68 0d 65 | 6e 64 20 69 66 0d 70 75 |lePath.e|nd if.pu|
|000048b0| 74 20 74 68 65 57 68 6f | 6c 65 46 69 6c 65 28 74 |t theWho|leFile(t|
|000048c0| 61 62 6c 65 50 61 74 68 | 26 22 53 6f 66 74 77 61 |ablePath|&"Softwa|
|000048d0| 72 65 20 54 61 62 6c 65 | 22 29 20 69 6e 74 6f 20 |re Table|") into |
|000048e0| 73 6f 66 74 77 61 72 65 | 54 61 62 6c 65 0d 70 75 |software|Table.pu|
|000048f0| 74 20 74 68 65 57 68 6f | 6c 65 46 69 6c 65 28 74 |t theWho|leFile(t|
|00004900| 61 62 6c 65 50 61 74 68 | 26 22 41 70 70 6c 69 63 |ablePath|&"Applic|
|00004910| 61 74 69 6f 6e 20 54 61 | 62 6c 65 22 29 20 69 6e |ation Ta|ble") in|
|00004920| 74 6f 20 61 70 70 54 61 | 62 6c 65 0d 70 75 74 20 |to appTa|ble.put |
|00004930| 74 68 65 57 68 6f 6c 65 | 46 69 6c 65 28 74 61 62 |theWhole|File(tab|
|00004940| 6c 65 50 61 74 68 26 22 | 43 50 55 20 54 61 62 6c |lePath&"|CPU Tabl|
|00004950| 65 22 29 20 69 6e 74 6f | 20 43 50 55 54 61 62 6c |e") into| CPUTabl|
|00004960| 65 0d 70 75 74 20 74 68 | 65 57 68 6f 6c 65 46 69 |e.put th|eWholeFi|
|00004970| 6c 65 28 74 61 62 6c 65 | 50 61 74 68 26 22 44 65 |le(table|Path&"De|
|00004980| 70 61 72 74 6d 65 6e 74 | 20 54 61 62 6c 65 22 29 |partment| Table")|
|00004990| 20 69 6e 74 6f 20 64 65 | 70 74 54 61 62 6c 65 0d | into de|ptTable.|
|000049a0| 70 75 74 20 74 68 65 57 | 68 6f 6c 65 46 69 6c 65 |put theW|holeFile|
|000049b0| 28 74 61 62 6c 65 50 61 | 74 68 26 22 49 6e 64 75 |(tablePa|th&"Indu|
|000049c0| 73 74 72 79 20 54 61 62 | 6c 65 22 29 20 69 6e 74 |stry Tab|le") int|
|000049d0| 6f 20 69 6e 64 54 61 62 | 6c 65 0d 70 75 74 20 74 |o indTab|le.put t|
|000049e0| 68 65 57 68 6f 6c 65 46 | 69 6c 65 28 74 61 62 6c |heWholeF|ile(tabl|
|000049f0| 65 50 61 74 68 26 22 50 | 65 72 69 70 68 65 72 61 |ePath&"P|eriphera|
|00004a00| 6c 20 54 61 62 6c 65 22 | 29 20 69 6e 74 6f 20 70 |l Table"|) into p|
|00004a10| 65 72 54 61 62 6c 65 0d | 70 75 74 20 74 68 65 57 |erTable.|put theW|
|00004a20| 68 6f 6c 65 46 69 6c 65 | 28 74 61 62 6c 65 50 61 |holeFile|(tablePa|
|00004a30| 74 68 26 22 54 72 61 6e | 73 6c 61 74 69 6f 6e 20 |th&"Tran|slation |
|00004a40| 54 61 62 6c 65 22 29 20 | 69 6e 74 6f 20 54 72 61 |Table") |into Tra|
|00004a50| 6e 73 6c 61 74 65 54 61 | 62 6c 65 0d 65 6e 64 20 |nslateTa|ble.end |
|00004a60| 4c 6f 61 64 54 61 62 6c | 65 73 0d 0d 2d 2d 2d 2d |LoadTabl|es..----|
|00004a70| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004a80| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 20 41 70 70 |--------|---- App|
|00004a90| 45 78 63 65 70 74 20 2d | 2d 2d 2d 2d 2d 2d 2d 2d |Except -|--------|
|00004aa0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004ab0| 2d 2d 2d 2d 0d 0d 46 75 | 6e 63 74 69 6f 6e 20 41 |----..Fu|nction A|
|00004ac0| 70 70 45 78 63 65 70 74 | 20 45 6e 74 69 74 79 0d |ppExcept| Entity.|
|00004ad0| 70 75 74 20 66 61 6c 73 | 65 20 69 6e 74 6f 20 66 |put fals|e into f|
|00004ae0| 6c 61 67 0d 69 66 20 65 | 6e 74 69 74 79 20 69 73 |lag.if e|ntity is|
|00004af0| 20 22 44 61 74 61 62 61 | 73 65 2d 4c 6f 63 61 6c | "Databa|se-Local|
|00004b00| 22 20 74 68 65 6e 20 72 | 65 74 75 72 6e 20 22 20 |" then r|eturn " |
|00004b10| 4c 6f 63 61 6c 20 44 61 | 74 61 62 61 73 65 2c 22 |Local Da|tabase,"|
|00004b20| 0d 69 66 20 65 6e 74 69 | 74 79 20 69 73 20 22 49 |.if enti|ty is "I|
|00004b30| 6e 66 6f 20 4d 61 6e 61 | 67 65 6d 65 6e 74 22 20 |nfo Mana|gement" |
|00004b40| 74 68 65 6e 20 72 65 74 | 75 72 6e 20 22 20 49 6e |then ret|urn " In|
|00004b50| 66 6f 72 6d 61 74 69 6f | 6e 20 4d 61 6e 61 67 65 |formatio|n Manage|
|00004b60| 6d 65 6e 74 2c 22 0d 70 | 75 74 20 65 6e 74 69 74 |ment,".p|ut entit|
|00004b70| 79 20 26 20 72 65 74 75 | 72 6e 20 61 66 74 65 72 |y & retu|rn after|
|00004b80| 20 66 6c 64 20 75 6e 6b | 6e 6f 77 6e 0d 72 65 74 | fld unk|nown.ret|
|00004b90| 75 72 6e 20 65 6d 70 74 | 79 0d 65 6e 64 20 41 70 |urn empt|y.end Ap|
|00004ba0| 70 45 78 63 65 70 74 0d | 0d 2d 2d 2d 2d 2d 2d 2d |pExcept.|.-------|
|00004bb0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004bc0| 2d 2d 2d 2d 2d 2d 2d 20 | 74 68 65 57 68 6f 6c 65 |------- |theWhole|
|00004bd0| 46 69 6c 65 20 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |File ---|--------|
|00004be0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004bf0| 2d 0d 0d 66 75 6e 63 74 | 69 6f 6e 20 74 68 65 57 |-..funct|ion theW|
|00004c00| 68 6f 6c 65 46 69 6c 65 | 20 74 68 65 46 69 6c 65 |holeFile| theFile|
|00004c10| 0d 6f 70 65 6e 20 66 69 | 6c 65 20 74 68 65 46 69 |.open fi|le theFi|
|00004c20| 6c 65 0d 72 65 61 64 20 | 66 72 6f 6d 20 66 69 6c |le.read |from fil|
|00004c30| 65 20 74 68 65 46 69 6c | 65 20 66 6f 72 20 31 36 |e theFil|e for 16|
|00004c40| 33 38 34 0d 63 6c 6f 73 | 65 20 66 69 6c 65 20 74 |384.clos|e file t|
|00004c50| 68 65 46 69 6c 65 0d 72 | 65 74 75 72 6e 20 69 74 |heFile.r|eturn it|
|00004c60| 0d 65 6e 64 20 74 68 65 | 57 68 6f 6c 65 46 69 6c |.end the|WholeFil|
|00004c70| 65 0d 0d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |e..-----|--------|
|00004c80| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004c90| 2d 2d 2d 20 4d 61 63 52 | 61 6e 67 65 20 2d 2d 2d |--- MacR|ange ---|
|00004ca0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004cb0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0d 0d 66 75 6e |--------|---..fun|
|00004cc0| 63 74 69 6f 6e 20 4d 61 | 63 52 61 6e 67 65 20 72 |ction Ma|cRange r|
|00004cd0| 61 77 4e 75 6d 62 65 72 | 0d 69 66 20 72 61 77 4e |awNumber|.if rawN|
|00004ce0| 75 6d 62 65 72 20 3d 20 | 20 20 20 30 20 74 68 65 |umber = | 0 the|
|00004cf0| 6e 20 72 65 74 75 72 6e | 20 22 55 6e 6b 6e 6f 77 |n return| "Unknow|
|00004d00| 6e 22 0d 69 66 20 72 61 | 77 4e 75 6d 62 65 72 20 |n".if ra|wNumber |
|00004d10| b2 20 20 20 31 30 20 74 | 68 65 6e 20 72 65 74 75 |. 10 t|hen retu|
|00004d20| 72 6e 20 22 31 2d 31 30 | 22 0d 69 66 20 72 61 77 |rn "1-10|".if raw|
|00004d30| 4e 75 6d 62 65 72 20 b2 | 20 20 20 35 30 20 74 68 |Number .| 50 th|
|00004d40| 65 6e 20 72 65 74 75 72 | 6e 20 22 31 31 2d 35 30 |en retur|n "11-50|
|00004d50| 22 0d 69 66 20 72 61 77 | 4e 75 6d 62 65 72 20 b2 |".if raw|Number .|
|00004d60| 20 20 31 30 30 20 74 68 | 65 6e 20 72 65 74 75 72 | 100 th|en retur|
|00004d70| 6e 20 22 35 31 2d 31 30 | 30 22 0d 69 66 20 72 61 |n "51-10|0".if ra|
|00004d80| 77 4e 75 6d 62 65 72 20 | b2 20 20 33 30 30 20 74 |wNumber |. 300 t|
|00004d90| 68 65 6e 20 72 65 74 75 | 72 6e 20 22 31 30 31 2d |hen retu|rn "101-|
|00004da0| 33 30 30 22 0d 69 66 20 | 72 61 77 4e 75 6d 62 65 |300".if |rawNumbe|
|00004db0| 72 20 b2 20 20 35 30 30 | 20 74 68 65 6e 20 72 65 |r . 500| then re|
|00004dc0| 74 75 72 6e 20 22 33 30 | 31 2d 35 30 30 22 0d 69 |turn "30|1-500".i|
|00004dd0| 66 20 72 61 77 4e 75 6d | 62 65 72 20 b2 20 31 30 |f rawNum|ber . 10|
|00004de0| 30 30 20 74 68 65 6e 20 | 72 65 74 75 72 6e 20 22 |00 then |return "|
|00004df0| 35 30 31 2d 31 30 30 30 | 22 0d 69 66 20 72 61 77 |501-1000|".if raw|
|00004e00| 4e 75 6d 62 65 72 20 b2 | 20 31 35 30 30 20 74 68 |Number .| 1500 th|
|00004e10| 65 6e 20 72 65 74 75 72 | 6e 20 22 31 30 30 31 2d |en retur|n "1001-|
|00004e20| 31 35 30 30 22 0d 69 66 | 20 72 61 77 4e 75 6d 62 |1500".if| rawNumb|
|00004e30| 65 72 20 b2 20 32 30 30 | 30 20 74 68 65 6e 20 72 |er . 200|0 then r|
|00004e40| 65 74 75 72 6e 20 22 31 | 35 30 31 2d 32 30 30 30 |eturn "1|501-2000|
|00004e50| 22 0d 72 65 74 75 72 6e | 20 22 32 30 30 30 20 2b |".return| "2000 +|
|00004e60| 22 0d 65 6e 64 20 4d 61 | 63 52 61 6e 67 65 0d 0d |".end Ma|cRange..|
|00004e70| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004e80| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 20 67 |--------|------ g|
|00004e90| 65 74 49 6e 64 65 78 50 | 61 74 68 20 2d 2d 2d 2d |etIndexP|ath ----|
|00004ea0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004eb0| 2d 2d 2d 2d 2d 2d 2d 2d | 0d 0d 66 75 6e 63 74 69 |--------|..functi|
|00004ec0| 6f 6e 20 67 65 74 49 6e | 64 65 78 50 61 74 68 20 |on getIn|dexPath |
|00004ed0| 74 68 65 4c 61 73 74 0d | 67 6c 6f 62 61 6c 20 48 |theLast.|global H|
|00004ee0| 69 65 72 2c 74 61 62 6c | 65 50 61 74 68 0d 69 66 |ier,tabl|ePath.if|
|00004ef0| 20 48 69 65 72 20 69 73 | 20 65 6d 70 74 79 20 74 | Hier is| empty t|
|00004f00| 68 65 6e 0d 70 75 74 20 | 74 61 62 6c 65 50 61 74 |hen.put |tablePat|
|00004f10| 68 26 22 41 70 70 6c 69 | 63 61 74 69 6f 6e 20 48 |h&"Appli|cation H|
|00004f20| 69 65 72 61 72 63 68 79 | 22 20 69 6e 74 6f 20 74 |ierarchy|" into t|
|00004f30| 68 65 46 69 6c 65 0d 6f | 70 65 6e 20 66 69 6c 65 |heFile.o|pen file|
|00004f40| 20 74 68 65 46 69 6c 65 | 0d 72 65 61 64 20 66 72 | theFile|.read fr|
|00004f50| 6f 6d 20 66 69 6c 65 20 | 74 68 65 46 69 6c 65 20 |om file |theFile |
|00004f60| 66 6f 72 20 31 36 33 38 | 34 0d 63 6c 6f 73 65 20 |for 1638|4.close |
|00004f70| 66 69 6c 65 20 74 68 65 | 46 69 6c 65 0d 70 75 74 |file the|File.put|
|00004f80| 20 69 74 20 69 6e 74 6f | 20 48 69 65 72 0d 65 6e | it into| Hier.en|
|00004f90| 64 20 69 66 0d 69 66 20 | 74 68 65 4c 61 73 74 20 |d if.if |theLast |
|00004fa0| 69 73 20 6e 6f 74 20 69 | 6e 20 48 69 65 72 20 74 |is not i|n Hier t|
|00004fb0| 68 65 6e 20 72 65 74 75 | 72 6e 20 65 6d 70 74 79 |hen retu|rn empty|
|00004fc0| 0d 65 6c 73 65 0d 67 65 | 74 20 6e 75 6d 62 65 72 |.else.ge|t number|
|00004fd0| 20 6f 66 20 6c 69 6e 65 | 73 20 6f 66 20 63 68 61 | of line|s of cha|
|00004fe0| 72 20 6f 6e 65 20 74 6f | 20 6f 66 66 73 65 74 28 |r one to| offset(|
|00004ff0| 74 68 65 4c 61 73 74 2c | 48 69 65 72 29 20 6f 66 |theLast,|Hier) of|
|00005000| 20 48 69 65 72 0d 67 65 | 74 20 6c 69 6e 65 20 69 | Hier.ge|t line i|
|00005010| 74 20 6f 66 20 48 69 65 | 72 0d 69 66 20 28 6f 66 |t of Hie|r.if (of|
|00005020| 66 73 65 74 28 74 68 65 | 4c 61 73 74 2c 69 74 29 |fset(the|Last,it)|
|00005030| 20 2b 6c 65 6e 67 74 68 | 28 74 68 65 4c 61 73 74 | +length|(theLast|
|00005040| 29 29 20 3e 20 6c 65 6e | 67 74 68 28 69 74 29 20 |)) > len|gth(it) |
|00005050| 74 68 65 6e 0d 72 65 74 | 75 72 6e 20 69 74 0d 65 |then.ret|urn it.e|
|00005060| 6c 73 65 20 72 65 74 75 | 72 6e 20 22 3e 22 0d 65 |lse retu|rn ">".e|
|00005070| 6e 64 20 69 66 0d 65 6e | 64 20 67 65 74 49 6e 64 |nd if.en|d getInd|
|00005080| 65 78 50 61 74 68 0d 0d | 2d 2d 6f 6e 20 63 68 65 |exPath..|--on che|
|00005090| 63 6b 4e 6f 74 65 73 0d | 6c 6f 63 6b 20 73 63 72 |ckNotes.|lock scr|
|000050a0| 65 65 6e 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |een.repe|at with |
|000050b0| 69 20 3d 20 28 74 68 65 | 20 6e 75 6d 62 65 72 20 |i = (the| number |
|000050c0| 6f 66 20 74 68 69 73 20 | 63 61 72 64 29 20 74 6f |of this |card) to|
|000050d0| 20 28 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 | (the nu|mber of |
|000050e0| 63 61 72 64 73 29 0d 73 | 65 74 20 63 75 72 73 6f |cards).s|et curso|
|000050f0| 72 20 74 6f 20 62 75 73 | 79 0d 67 6f 20 63 64 20 |r to bus|y.go cd |
|00005100| 69 0d 69 66 20 66 6c 64 | 20 22 6e 6f 74 65 73 22 |i.if fld| "notes"|
|00005110| 20 ad 20 65 6d 70 74 79 | 20 74 68 65 6e 0d 62 65 | . empty| then.be|
|00005120| 65 70 0d 65 78 69 74 20 | 63 68 65 63 6b 4e 6f 74 |ep.exit |checkNot|
|00005130| 65 73 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 72 65 |es.end i|f.end re|
|00005140| 70 65 61 74 0d 65 6e 64 | 20 63 68 65 63 6b 4e 6f |peat.end| checkNo|
|00005150| 74 65 73 0d 00 6c 65 0d | 72 65 61 64 20 66 72 6f |tes..le.|read fro|
|00005160| 6d 20 66 69 6c 65 20 74 | 68 65 46 69 6c 65 20 66 |m file t|heFile f|
|00005170| 6f 72 20 31 36 33 38 34 | 0d 63 6c 6f 73 65 20 66 |or 16384|.close f|
|00005180| 69 6c 65 20 74 68 65 46 | 69 6c 65 0d 72 65 74 75 |ile theF|ile.retu|
|00005190| 72 6e 20 69 74 0d 65 6e | 64 20 74 68 65 57 68 6f |rn it.en|d theWho|
|000051a0| 6c 65 46 69 6c 65 0d 0d | 2d 2d 2d 2d 2d 2d 2d 2d |leFile..|--------|
|000051b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000051c0| 2d 2d 2d 2d 2d 2d 2d 2d | 20 4d 61 63 52 61 6e 67 |--------| MacRang|
|000051d0| 65 20 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |e ------|--------|
|000051e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000051f0| 0d 0d 66 75 6e 63 74 69 | 6f 6e 20 4d 61 63 52 61 |..functi|on MacRa|
|00005200| 6e 67 65 20 72 61 77 4e | 75 6d 62 65 72 0d 69 66 |nge rawN|umber.if|
|00005210| 20 72 61 77 4e 75 6d 62 | 65 72 20 3d 20 20 20 20 | rawNumb|er = |
|00005220| 30 20 74 68 65 6e 20 72 | 65 74 75 72 6e 20 22 55 |0 then r|eturn "U|
|00005230| 6e 6b 6e 6f 77 6e 22 0d | 69 66 20 72 61 77 4e 75 |nknown".|if rawNu|
|00005240| 6d 62 65 72 20 b2 20 20 | 20 31 30 20 74 68 65 6e |mber . | 10 then|
|00005250| 20 72 65 74 75 72 6e 20 | 22 31 2d 31 30 22 0d 69 | return |"1-10".i|
|00005260| 66 20 72 61 77 4e 75 6d | 62 65 72 20 b2 20 20 20 |f rawNum|ber . |
|00005270| 35 30 20 74 68 65 6e 20 | 72 65 74 75 72 6e 20 22 |50 then |return "|
|00005280| 31 31 2d 35 30 22 0d 69 | 66 20 72 61 77 4e 75 6d |11-50".i|f rawNum|
|00005290| 62 65 72 20 b2 20 20 31 | 30 30 20 74 68 65 6e 20 |ber . 1|00 then |
|000052a0| 72 65 74 75 72 6e 20 22 | 35 31 2d 31 30 30 22 0d |return "|51-100".|
|000052b0| 69 66 20 72 61 77 4e 75 | 6d 62 65 72 20 b2 20 20 |if rawNu|mber . |
|000052c0| 33 30 30 20 74 68 65 6e | 20 72 65 74 75 72 6e 20 |300 then| return |
|000052d0| 22 31 30 31 2d 33 30 30 | 22 0d 69 66 20 72 61 77 |"101-300|".if raw|
|000052e0| 4e 75 6d 62 65 72 20 b2 | 20 20 35 30 30 20 74 68 |Number .| 500 th|
|000052f0| 65 6e 20 72 65 74 75 72 | 6e 20 22 33 30 31 2d 35 |en retur|n "301-5|
|00005300| 30 30 22 0d 69 66 20 72 | 61 77 4e 75 6d 62 65 72 |00".if r|awNumber|
|00005310| 20 b2 20 31 30 30 30 20 | 74 68 65 6e 20 72 65 74 | . 1000 |then ret|
|00005320| 75 72 6e 20 22 35 30 31 | 2d 31 30 30 30 22 0d 69 |urn "501|-1000".i|
|00005330| 66 20 72 61 77 4e 75 6d | 62 65 72 20 b2 20 31 35 |f rawNum|ber . 15|
|00005340| 30 30 20 74 68 65 6e 20 | 72 65 74 75 72 6e 20 22 |00 then |return "|
|00005350| 31 30 30 31 2d 31 35 30 | 30 22 0d 69 66 20 72 61 |1001-150|0".if ra|
|00005360| 77 4e 75 6d 62 65 72 20 | b2 20 32 30 30 30 20 74 |wNumber |. 2000 t|
|00005370| 68 65 6e 20 72 65 74 75 | 72 6e 20 22 31 35 30 31 |hen retu|rn "1501|
|00005380| 2d 32 30 30 30 22 0d 72 | 65 74 75 72 6e 20 22 32 |-2000".r|eturn "2|
|00005390| 30 30 30 20 2b 22 0d 65 | 6e 64 20 4d 61 63 52 61 |000 +".e|nd MacRa|
|000053a0| 6e 67 65 0d 0d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |nge..---|--------|
|000053b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000053c0| 2d 2d 2d 20 67 65 74 49 | 6e 64 65 78 50 61 74 68 |--- getI|ndexPath|
|000053d0| 20 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d | -------|--------|
|000053e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 0d 0d 66 |--------|-----..f|
|000053f0| 75 6e 63 74 69 6f 6e 20 | 67 65 74 49 6e 64 65 78 |unction |getIndex|
|00005400| 50 61 74 68 20 74 68 65 | 4c 61 73 74 0d 67 6c 6f |Path the|Last.glo|
|00005410| 62 61 6c 20 48 69 65 72 | 2c 74 61 62 6c 65 50 61 |bal Hier|,tablePa|
|00005420| 74 68 0d 69 66 20 48 69 | 65 72 20 69 73 20 65 6d |th.if Hi|er is em|
|00005430| 70 74 79 20 74 68 65 6e | 0d 70 75 74 20 74 61 62 |pty then|.put tab|
|00005440| 6c 65 50 61 74 68 26 22 | 41 70 70 6c 69 63 61 74 |lePath&"|Applicat|
|00005450| 69 6f 6e 20 48 69 65 72 | 61 72 63 68 79 22 20 69 |ion Hier|archy" i|
|00005460| 6e 74 6f 20 74 68 65 46 | 69 6c 65 0d 6f 70 65 6e |nto theF|ile.open|
|00005470| 20 66 69 6c 65 20 74 68 | 65 46 69 6c 65 0d 72 65 | file th|eFile.re|
|00005480| 61 64 20 66 72 6f 6d 20 | 66 69 6c 65 20 74 68 65 |ad from |file the|
|00005490| 46 69 6c 65 20 66 6f 72 | 20 31 36 33 38 34 0d 63 |File for| 16384.c|
|000054a0| 6c 6f 73 65 20 66 69 6c | 65 20 74 68 65 46 69 6c |lose fil|e theFil|
|000054b0| 65 0d 70 75 74 20 69 74 | 20 69 6e 74 6f 20 48 69 |e.put it| into Hi|
|000054c0| 65 72 0d 65 6e 64 20 69 | 66 0d 69 66 20 74 68 65 |er.end i|f.if the|
|000054d0| 4c 61 73 74 20 69 73 20 | 6e 6f 74 20 69 6e 20 48 |Last is |not in H|
|000054e0| 69 65 72 20 74 68 65 6e | 20 72 65 74 75 72 6e 20 |ier then| return |
|000054f0| 65 6d 70 74 79 0d 65 6c | 73 65 0d 67 65 74 20 6e |empty.el|se.get n|
|00005500| 75 6d 62 65 72 20 6f 66 | 20 6c 69 6e 65 73 20 6f |umber of| lines o|
|00005510| 66 20 63 68 61 72 20 6f | 6e 65 20 74 6f 20 6f 66 |f char o|ne to of|
|00005520| 66 73 65 74 28 74 68 65 | 4c 61 73 74 2c 48 69 65 |fset(the|Last,Hie|
|00005530| 72 29 20 6f 66 20 48 69 | 65 72 0d 67 65 74 20 6c |r) of Hi|er.get l|
|00005540| 69 6e 65 20 69 74 20 6f | 66 20 48 69 65 72 0d 69 |ine it o|f Hier.i|
|00005550| 66 20 28 6f 66 66 73 65 | 74 28 74 68 65 4c 61 73 |f (offse|t(theLas|
|00005560| 74 2c 69 74 29 20 2b 6c | 65 6e 67 74 68 28 74 68 |t,it) +l|ength(th|
|00005570| 65 4c 61 73 74 29 29 20 | 3e 20 6c 65 6e 67 74 68 |eLast)) |> length|
|00005580| 28 69 74 29 20 74 68 65 | 6e 0d 72 65 74 75 72 6e |(it) the|n.return|
|00005590| 20 69 74 0d 65 6c 73 65 | 20 72 65 74 75 72 6e 20 | it.else| return |
|000055a0| 22 3e 22 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 67 |">".end |if.end g|
|000055b0| 65 74 49 6e 64 65 78 50 | 61 74 68 0d 0d 2d 2d 6f |etIndexP|ath..--o|
|000055c0| 6e 20 63 68 65 63 6b 4e | 6f 74 65 73 0d 6c 6f 63 |n checkN|otes.loc|
|000055d0| 6b 20 73 63 72 65 65 6e | 0d 72 65 70 65 61 74 20 |k screen|.repeat |
|000055e0| 77 69 74 68 20 69 20 3d | 20 28 74 68 65 20 6e 75 |with i =| (the nu|
|000055f0| 6d 62 65 72 20 6f 66 20 | 74 68 69 73 20 63 61 72 |mber of |this car|
|00005600| 64 29 20 74 6f 20 28 74 | 68 65 20 6e 75 6d 62 65 |d) to (t|he numbe|
|00005610| 72 20 6f 66 20 63 61 72 | 64 73 29 0d 73 65 74 20 |r of car|ds).set |
|00005620| 63 75 72 73 6f 72 20 74 | 6f 20 62 75 73 79 0d 67 |cursor t|o busy.g|
|00005630| 6f 20 63 64 20 69 0d 69 | 66 20 66 6c 64 20 22 6e |o cd i.i|f fld "n|
|00005640| 6f 74 65 73 22 20 ad 20 | 65 6d 70 74 79 20 74 68 |otes" . |empty th|
|00005650| 65 6e 0d 62 65 65 70 0d | 65 78 69 74 20 63 68 65 |en.beep.|exit che|
|00005660| 63 6b 4e 6f 74 65 73 0d | 65 6e 64 20 69 66 0d 65 |ckNotes.|end if.e|
|00005670| 6e 64 20 72 65 70 65 61 | 74 0d 65 6e 64 20 63 68 |nd repea|t.end ch|
|00005680| 65 63 6b 4e 6f 74 65 73 | 0d 00 6f 20 63 64 20 66 |eckNotes|..o cd f|
|00005690| 6c 64 20 22 6e 61 6d 65 | 20 6c 69 73 74 32 22 0d |ld "name| list2".|
|000056a0| 70 75 74 20 65 6d 70 74 | 79 20 69 6e 74 6f 20 63 |put empt|y into c|
|000056b0| 64 20 66 6c 64 20 22 6e | 61 6d 65 20 6c 69 73 74 |d fld "n|ame list|
|000056c0| 22 0d 2d 2d 0d 65 6e 64 | 20 4d 61 6b 65 0d 0d 0d |".--.end| Make...|
|000056d0| 6f 6e 20 42 75 69 6c 64 | 31 0d 67 6c 6f 62 61 6c |on Build|1.global|
|000056e0| 20 61 74 6f 74 61 6c 2c | 62 74 6f 74 61 6c 2c 63 | atotal,|btotal,c|
|000056f0| 74 6f 74 61 6c 0d 70 75 | 74 20 30 20 69 6e 74 6f |total.pu|t 0 into|
|00005700| 20 61 74 6f 74 61 6c 0d | 70 75 74 20 30 20 69 6e | atotal.|put 0 in|
|00005710| 74 6f 20 62 74 6f 74 61 | 6c 0d 70 75 74 20 30 20 |to btota|l.put 0 |
|00005720| 20 69 6e 74 6f 20 63 74 | 6f 74 61 6c 0d 70 75 74 | into ct|otal.put|
|00005730| 20 22 42 55 49 4c 44 49 | 4e 47 20 4e 45 57 20 49 | "BUILDI|NG NEW I|
|00005740| 4e 44 45 58 c9 22 0d 70 | 75 74 20 65 6d 70 74 79 |NDEX.".p|ut empty|
|00005750| 20 69 6e 74 6f 20 63 64 | 20 66 6c 64 20 22 73 74 | into cd| fld "st|
|00005760| 6f 72 31 22 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |or1".put| empty i|
|00005770| 6e 74 6f 20 63 64 20 66 | 6c 64 20 22 73 74 6f 72 |nto cd f|ld "stor|
|00005780| 32 22 0d 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 |2".put e|mpty int|
|00005790| 6f 20 63 64 20 66 6c 64 | 20 22 73 74 6f 72 33 22 |o cd fld| "stor3"|
|000057a0| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|000057b0| 63 64 20 66 6c 64 20 22 | 6e 61 6d 65 20 6c 69 73 |cd fld "|name lis|
|000057c0| 74 31 22 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |t1".put |empty in|
|000057d0| 74 6f 20 63 64 20 66 6c | 64 20 22 6e 61 6d 65 20 |to cd fl|d "name |
|000057e0| 6c 69 73 74 32 22 0d 70 | 75 74 20 65 6d 70 74 79 |list2".p|ut empty|
|000057f0| 20 69 6e 74 6f 20 63 64 | 20 66 6c 64 20 22 6e 61 | into cd| fld "na|
|00005800| 6d 65 20 6c 69 73 74 22 | 0d 72 65 70 65 61 74 20 |me list"|.repeat |
|00005810| 77 69 74 68 20 69 20 3d | 20 31 20 74 6f 20 33 0d |with i =| 1 to 3.|
|00005820| 69 66 20 69 20 3d 20 31 | 20 74 68 65 6e 0d 70 75 |if i = 1| then.pu|
|00005830| 74 20 22 41 22 20 69 6e | 74 6f 20 77 68 69 63 68 |t "A" in|to which|
|00005840| 0d 70 75 74 20 22 73 74 | 6f 72 31 22 20 69 6e 74 |.put "st|or1" int|
|00005850| 6f 20 77 68 65 72 65 0d | 70 75 74 20 22 6e 61 6d |o where.|put "nam|
|00005860| 65 20 6c 69 73 74 31 22 | 20 69 6e 74 6f 20 77 68 |e list1"| into wh|
|00005870| 79 0d 65 6c 73 65 20 69 | 66 20 69 20 3d 20 32 20 |y.else i|f i = 2 |
|00005880| 74 68 65 6e 0d 70 75 74 | 20 22 42 22 20 69 6e 74 |then.put| "B" int|
|00005890| 6f 20 77 68 69 63 68 0d | 70 75 74 20 22 73 74 6f |o which.|put "sto|
|000058a0| 72 32 22 20 69 6e 74 6f | 20 77 68 65 72 65 0d 70 |r2" into| where.p|
|000058b0| 75 74 20 22 6e 61 6d 65 | 20 6c 69 73 74 32 22 20 |ut "name| list2" |
|000058c0| 69 6e 74 6f 20 77 68 79 | 0d 65 6c 73 65 20 69 66 |into why|.else if|
|000058d0| 20 69 20 3d 20 33 20 74 | 68 65 6e 0d 70 75 74 20 | i = 3 t|hen.put |
|000058e0| 22 43 22 20 69 6e 74 6f | 20 77 68 69 63 68 0d 70 |"C" into| which.p|
|000058f0| 75 74 20 22 73 74 6f 72 | 33 22 20 69 6e 74 6f 20 |ut "stor|3" into |
|00005900| 77 68 65 72 65 0d 70 75 | 74 20 22 6e 61 6d 65 20 |where.pu|t "name |
|00005910| 6c 69 73 74 22 20 69 6e | 74 6f 20 77 68 79 0d 65 |list" in|to why.e|
|00005920| 6e 64 20 69 66 0d 2d 2d | 0d 70 75 74 20 31 20 69 |nd if.--|.put 1 i|
|00005930| 6e 74 6f 20 6b 0d 70 75 | 74 20 30 20 69 6e 74 6f |nto k.pu|t 0 into|
|00005940| 20 6a 0d 2d 2d 0d 72 65 | 70 65 61 74 20 28 74 68 | j.--.re|peat (th|
|00005950| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 6c 69 6e 65 |e number| of line|
|00005960| 73 20 69 6e 20 63 64 20 | 66 6c 64 20 77 68 69 63 |s in cd |fld whic|
|00005970| 68 29 0d 61 64 64 20 31 | 20 74 6f 20 6a 0d 70 75 |h).add 1| to j.pu|
|00005980| 74 20 6c 69 6e 65 20 6a | 20 6f 66 20 63 64 20 66 |t line j| of cd f|
|00005990| 6c 64 20 77 68 69 63 68 | 20 69 6e 74 6f 20 74 65 |ld which| into te|
|000059a0| 6d 70 0d 2d 2d 0d 69 66 | 20 6a 20 3e 20 31 20 74 |mp.--.if| j > 1 t|
|000059b0| 68 65 6e 0d 67 65 74 20 | 6f 66 66 73 65 74 28 22 |hen.get |offset("|
|000059c0| a5 22 2c 6c 69 6e 65 20 | 6a 20 6f 66 20 63 64 20 |.",line |j of cd |
|000059d0| 66 6c 64 20 77 68 69 63 | 68 29 0d 70 75 74 20 69 |fld whic|h).put i|
|000059e0| 74 20 2d 20 31 20 69 6e | 74 6f 20 74 68 65 62 75 |t - 1 in|to thebu|
|000059f0| 6c 6c 0d 70 75 74 20 63 | 68 61 72 20 31 20 74 6f |ll.put c|har 1 to|
|00005a00| 20 74 68 65 62 75 6c 6c | 20 6f 66 20 6c 69 6e 65 | thebull| of line|
|00005a10| 20 6a 20 6f 66 20 63 64 | 20 66 6c 64 20 77 68 69 | j of cd| fld whi|
|00005a20| 63 68 20 69 6e 74 6f 20 | 63 75 72 72 65 6e 74 0d |ch into |current.|
|00005a30| 67 65 74 20 6f 66 66 73 | 65 74 28 22 a5 22 2c 6c |get offs|et(".",l|
|00005a40| 69 6e 65 20 28 6a 20 2d | 20 31 29 20 6f 66 20 63 |ine (j -| 1) of c|
|00005a50| 64 20 66 6c 64 20 77 68 | 69 63 68 29 0d 70 75 74 |d fld wh|ich).put|
|00005a60| 20 69 74 20 2d 20 31 20 | 69 6e 74 6f 20 74 68 65 | it - 1 |into the|
|00005a70| 62 75 6c 6c 0d 70 75 74 | 20 63 68 61 72 20 31 20 |bull.put| char 1 |
|00005a80| 74 6f 20 74 68 65 62 75 | 6c 6c 20 6f 66 20 6c 69 |to thebu|ll of li|
|00005a90| 6e 65 20 6a 20 6f 66 20 | 63 64 20 66 6c 64 20 77 |ne j of |cd fld w|
|00005aa0| 68 69 63 68 20 69 6e 74 | 6f 20 70 72 65 76 0d 0d |hich int|o prev..|
|00005ab0| 69 66 20 63 75 72 72 65 | 6e 74 20 3d 20 70 72 65 |if curre|nt = pre|
|00005ac0| 76 20 74 68 65 6e 0d 70 | 75 74 20 22 44 55 50 4c |v then.p|ut "DUPL|
|00005ad0| 49 43 41 54 45 22 0d 6e | 65 78 74 20 72 65 70 65 |ICATE".n|ext repe|
|00005ae0| 61 74 0d 65 6e 64 20 69 | 66 0d 65 6c 73 65 0d 67 |at.end i|f.else.g|
|00005af0| 65 74 20 6f 66 66 73 65 | 74 28 22 a5 22 2c 6c 69 |et offse|t(".",li|
|00005b00| 6e 65 20 6a 20 6f 66 20 | 63 64 20 66 6c 64 20 77 |ne j of |cd fld w|
|00005b10| 68 69 63 68 29 0d 70 75 | 74 20 69 74 20 2d 20 31 |hich).pu|t it - 1|
|00005b20| 20 69 6e 74 6f 20 74 68 | 65 62 75 6c 6c 0d 70 75 | into th|ebull.pu|
|00005b30| 74 20 63 68 61 72 20 31 | 20 74 6f 20 74 68 65 62 |t char 1| to theb|
|00005b40| 75 6c 6c 20 6f 66 20 6c | 69 6e 65 20 6a 20 6f 66 |ull of l|ine j of|
|00005b50| 20 63 64 20 66 6c 64 20 | 77 68 69 63 68 20 69 6e | cd fld |which in|
|00005b60| 74 6f 20 63 75 72 72 65 | 6e 74 0d 65 6e 64 20 69 |to curre|nt.end i|
|00005b70| 66 0d 0d 2d 2d 0d 70 75 | 74 20 74 65 6d 70 20 26 |f..--.pu|t temp &|
|00005b80| 20 72 65 74 75 72 6e 20 | 69 6e 74 6f 20 6c 69 6e | return |into lin|
|00005b90| 65 20 6b 20 6f 66 20 63 | 64 20 66 6c 64 20 77 68 |e k of c|d fld wh|
|00005ba0| 65 72 65 0d 70 75 74 20 | 63 75 72 72 65 6e 74 20 |ere.put |current |
|00005bb0| 26 20 72 65 74 75 72 6e | 20 69 6e 74 6f 20 6c 69 |& return| into li|
|00005bc0| 6e 65 20 6b 20 6f 66 20 | 63 64 20 66 6c 64 20 77 |ne k of |cd fld w|
|00005bd0| 68 79 0d 2d 2d 0d 61 64 | 64 20 31 20 74 6f 20 6b |hy.--.ad|d 1 to k|
|00005be0| 0d 70 75 74 20 69 20 26 | 26 20 6a 20 26 26 20 61 |.put i &|& j && a|
|00005bf0| 74 6f 74 61 6c 20 26 26 | 20 62 74 6f 74 61 6c 20 |total &&| btotal |
|00005c00| 26 26 20 63 74 6f 74 61 | 6c 20 26 26 20 20 74 65 |&& ctota|l && te|
|00005c10| 6d 70 0d 2d 2d 0d 65 6e | 64 20 72 65 70 65 61 74 |mp.--.en|d repeat|
|00005c20| 0d 69 66 20 69 20 3d 20 | 31 20 74 68 65 6e 20 70 |.if i = |1 then p|
|00005c30| 75 74 20 6b 20 69 6e 74 | 6f 20 41 74 6f 74 61 6c |ut k int|o Atotal|
|00005c40| 0d 65 6c 73 65 20 69 66 | 20 69 20 3d 20 32 20 74 |.else if| i = 2 t|
|00005c50| 68 65 6e 20 70 75 74 20 | 6b 20 69 6e 74 6f 20 42 |hen put |k into B|
|00005c60| 54 6f 74 61 6c 0d 65 6c | 73 65 20 69 66 20 69 20 |Total.el|se if i |
|00005c70| 3d 20 33 20 74 68 65 6e | 20 70 75 74 20 6b 20 69 |= 3 then| put k i|
|00005c80| 6e 74 6f 20 43 74 6f 74 | 61 6c 0d 65 6e 64 20 72 |nto Ctot|al.end r|
|00005c90| 65 70 65 61 74 0d 65 6e | 64 20 42 75 69 6c 64 31 |epeat.en|d Build1|
|00005ca0| 0d 0d 6f 6e 20 74 65 73 | 74 0d 67 6c 6f 62 61 6c |..on tes|t.global|
|00005cb0| 20 73 74 6f 72 31 2c 73 | 74 6f 72 32 2c 73 74 6f | stor1,s|tor2,sto|
|00005cc0| 72 33 0d 0d 2d 2d 67 6f | 20 63 64 20 22 73 65 61 |r3..--go| cd "sea|
|00005cd0| 72 63 68 69 6e 67 20 63 | 65 6e 74 72 61 6c 22 20 |rching c|entral" |
|00005ce0| 6f 66 20 73 74 61 63 6b | 20 22 72 65 66 65 72 65 |of stack| "refere|
|00005cf0| 6e 63 65 20 67 75 69 64 | 65 22 0d 2d 2d 20 70 75 |nce guid|e".-- pu|
|00005d00| 74 20 73 74 6f 72 31 20 | 69 6e 74 6f 20 63 64 20 |t stor1 |into cd |
|00005d10| 66 6c 64 20 22 73 74 6f | 72 31 22 0d 2d 2d 20 70 |fld "sto|r1".-- p|
|00005d20| 75 74 20 73 74 6f 72 32 | 20 69 6e 74 6f 20 63 64 |ut stor2| into cd|
|00005d30| 20 66 6c 64 20 22 73 74 | 6f 72 32 22 0d 2d 2d 20 | fld "st|or2".-- |
|00005d40| 70 75 74 20 73 74 6f 72 | 33 20 69 6e 74 6f 20 63 |put stor|3 into c|
|00005d50| 64 20 66 6c 64 20 22 73 | 74 6f 72 33 22 0d 0d 73 |d fld "s|tor3"..s|
|00005d60| 6f 72 74 4e 65 77 49 6e | 64 65 78 0d 65 6e 64 20 |ortNewIn|dex.end |
|00005d70| 74 65 73 74 0d 0d 6f 6e | 20 73 6f 6d 65 74 68 69 |test..on| somethi|
|00005d80| 6e 67 0d 70 75 74 20 63 | 64 20 66 6c 64 20 22 73 |ng.put c|d fld "s|
|00005d90| 74 6f 72 31 22 20 26 20 | 72 65 74 75 72 6e 20 26 |tor1" & |return &|
|00005da0| 20 63 64 20 66 6c 64 20 | 22 73 74 6f 72 32 22 20 | cd fld |"stor2" |
|00005db0| 26 20 72 65 74 75 72 6e | 20 26 20 c2 0d 63 64 20 |& return| & ..cd |
|00005dc0| 66 6c 64 20 22 73 74 6f | 72 33 22 20 69 6e 74 6f |fld "sto|r3" into|
|00005dd0| 20 74 68 65 4c 69 73 74 | 0d 70 75 74 20 74 68 65 | theList|.put the|
|00005de0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 6c 69 6e 65 73 | number |of lines|
|00005df0| 20 69 6e 20 74 68 65 4c | 69 73 74 20 69 6e 74 6f | in theL|ist into|
|00005e00| 20 74 68 65 6c 65 6e 0d | 70 75 74 20 6c 69 6e 65 | thelen.|put line|
|00005e10| 20 31 20 74 6f 20 35 30 | 30 20 6f 66 20 74 68 65 | 1 to 50|0 of the|
|00005e20| 4c 69 73 74 20 69 6e 74 | 6f 20 63 64 20 66 6c 64 |List int|o cd fld|
|00005e30| 20 22 73 74 6f 72 31 22 | 0d 70 75 74 20 6c 69 6e | "stor1"|.put lin|
|00005e40| 65 20 35 30 31 20 74 6f | 20 31 30 30 30 20 6f 66 |e 501 to| 1000 of|
|00005e50| 20 74 68 65 4c 69 73 74 | 20 69 6e 74 6f 20 63 64 | theList| into cd|
|00005e60| 20 66 6c 64 20 22 73 74 | 6f 72 32 22 0d 70 75 74 | fld "st|or2".put|
|00005e70| 20 6c 69 6e 65 20 31 30 | 30 31 20 74 6f 20 74 68 | line 10|01 to th|
|00005e80| 65 6c 65 6e 20 6f 66 20 | 74 68 65 4c 69 73 74 20 |elen of |theList |
|00005e90| 69 6e 74 6f 20 63 64 20 | 66 6c 64 20 22 73 74 6f |into cd |fld "sto|
|00005ea0| 72 33 22 0d 2d 2d 0d 70 | 75 74 20 63 64 20 66 6c |r3".--.p|ut cd fl|
|00005eb0| 64 20 22 6e 61 6d 65 20 | 6c 69 73 74 31 22 20 26 |d "name |list1" &|
|00005ec0| 20 72 65 74 75 72 6e 20 | 26 20 63 64 20 66 6c 64 | return |& cd fld|
|00005ed0| 20 22 6e 61 6d 65 20 6c | 69 73 74 32 22 20 26 20 | "name l|ist2" & |
|00005ee0| 72 65 74 75 72 6e 20 26 | 20 c2 0d 63 64 20 66 6c |return &| ..cd fl|
|00005ef0| 64 20 22 6e 61 6d 65 20 | 6c 69 73 74 22 20 69 6e |d "name |list" in|
|00005f00| 74 6f 20 74 68 65 4c 69 | 73 74 0d 70 75 74 20 74 |to theLi|st.put t|
|00005f10| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 6c 69 6e |he numbe|r of lin|
|00005f20| 65 73 20 69 6e 20 74 68 | 65 4c 69 73 74 20 69 6e |es in th|eList in|
|00005f30| 74 6f 20 74 68 65 6c 65 | 6e 0d 70 75 74 20 6c 69 |to thele|n.put li|
|00005f40| 6e 65 20 31 20 74 6f 20 | 35 30 30 20 6f 66 20 74 |ne 1 to |500 of t|
|00005f50| 68 65 4c 69 73 74 20 69 | 6e 74 6f 20 63 64 20 66 |heList i|nto cd f|
|00005f60| 6c 64 20 22 6e 61 6d 65 | 20 6c 69 73 74 31 22 0d |ld "name| list1".|
|00005f70| 70 75 74 20 6c 69 6e 65 | 20 35 30 31 20 74 6f 20 |put line| 501 to |
|00005f80| 31 30 30 30 20 6f 66 20 | 74 68 65 4c 69 73 74 20 |1000 of |theList |
|00005f90| 69 6e 74 6f 20 63 64 20 | 66 6c 64 20 22 6e 61 6d |into cd |fld "nam|
|00005fa0| 65 20 6c 69 73 74 32 22 | 0d 70 75 74 20 6c 69 6e |e list2"|.put lin|
|00005fb0| 65 20 31 30 30 31 20 74 | 6f 20 74 68 65 6c 65 6e |e 1001 t|o thelen|
|00005fc0| 20 6f 66 20 74 68 65 4c | 69 73 74 20 69 6e 74 6f | of theL|ist into|
|00005fd0| 20 63 64 20 66 6c 64 20 | 22 6e 61 6d 65 20 6c 69 | cd fld |"name li|
|00005fe0| 73 74 22 0d 70 75 74 20 | 22 45 4e 44 22 26 26 74 |st".put |"END"&&t|
|00005ff0| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 6c 69 6e |he numbe|r of lin|
|00006000| 65 73 20 69 6e 20 63 64 | 20 66 6c 64 20 22 73 74 |es in cd| fld "st|
|00006010| 6f 72 31 22 20 2b 20 74 | 68 65 20 6e 75 6d 62 65 |or1" + t|he numbe|
|00006020| 72 20 c2 0d 6f 66 20 6c | 69 6e 65 73 20 69 6e 20 |r ..of l|ines in |
|00006030| 63 64 20 66 6c 64 20 22 | 73 74 6f 72 32 22 20 2b |cd fld "|stor2" +|
|00006040| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 6c | the num|ber of l|
|00006050| 69 6e 65 73 20 69 6e 20 | c2 0d 63 64 20 66 6c 64 |ines in |..cd fld|
|00006060| 20 22 73 74 6f 72 33 22 | 20 26 26 74 68 65 20 6e | "stor3"| &&the n|
|00006070| 75 6d 62 65 72 20 6f 66 | 20 6c 69 6e 65 73 20 69 |umber of| lines i|
|00006080| 6e 20 63 64 20 66 6c 64 | 20 22 6e 61 6d 65 20 6c |n cd fld| "name l|
|00006090| 69 73 74 31 22 20 2b 20 | c2 0d 74 68 65 20 6e 75 |ist1" + |..the nu|
|000060a0| 6d 62 65 72 20 6f 66 20 | 6c 69 6e 65 73 20 69 6e |mber of |lines in|
|000060b0| 20 63 64 20 66 6c 64 20 | 22 6e 61 6d 65 20 6c 69 | cd fld |"name li|
|000060c0| 73 74 32 22 20 2b 20 74 | 68 65 20 6e 75 6d 62 65 |st2" + t|he numbe|
|000060d0| 72 20 6f 66 20 6c 69 6e | 65 73 20 c2 0d 69 6e 20 |r of lin|es ..in |
|000060e0| 63 64 20 66 6c 64 20 22 | 6e 61 6d 65 20 6c 69 73 |cd fld "|name lis|
|000060f0| 74 22 0d 65 6e 64 20 73 | 6f 6d 65 74 68 69 6e 67 |t".end s|omething|
|00006100| 0d 0d 00 26 20 6a 20 26 | 26 20 61 74 6f 74 61 6c |...& j &|& atotal|
|00006110| 20 26 26 20 62 74 6f 74 | 61 6c 20 26 26 20 63 74 | && btot|al && ct|
|00006120| 6f 74 61 6c 20 26 26 20 | 20 74 65 6d 70 0d 2d 2d |otal && | temp.--|
|00006130| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 69 66 20 69 |.end rep|eat.if i|
|00006140| 20 3d 20 31 20 74 68 65 | 6e 20 70 75 74 20 6b 20 | = 1 the|n put k |
|00006150| 69 6e 74 6f 20 41 74 6f | 74 61 6c 0d 65 6c 73 65 |into Ato|tal.else|
|00006160| 20 69 66 20 69 20 3d 20 | 32 20 74 68 65 6e 20 70 | if i = |2 then p|
|00006170| 75 74 20 6b 20 69 6e 74 | 6f 20 42 54 6f 74 61 6c |ut k int|o BTotal|
|00006180| 0d 65 6c 73 65 20 69 66 | 20 69 20 3d 20 33 20 74 |.else if| i = 3 t|
|00006190| 68 65 6e 20 70 75 74 20 | 6b 20 69 6e 74 6f 20 43 |hen put |k into C|
|000061a0| 74 6f 74 61 6c 0d 65 6e | 64 20 72 65 70 65 61 74 |total.en|d repeat|
|000061b0| 0d 65 6e 64 20 42 75 69 | 6c 64 31 0d 0d 6f 6e 20 |.end Bui|ld1..on |
|000061c0| 74 65 73 74 0d 67 6c 6f | 62 61 6c 20 73 74 6f 72 |test.glo|bal stor|
|000061d0| 31 2c 73 74 6f 72 32 2c | 73 74 6f 72 33 0d 0d 2d |1,stor2,|stor3..-|
|000061e0| 2d 67 6f 20 63 64 20 22 | 73 65 61 72 63 68 69 6e |-go cd "|searchin|
|000061f0| 67 20 63 65 6e 74 72 61 | 6c 22 20 6f 66 20 73 74 |g centra|l" of st|
|00006200| 61 63 6b 20 22 72 65 66 | 65 72 65 6e 63 65 20 67 |ack "ref|erence g|
|00006210| 75 69 64 65 22 0d 2d 2d | 20 70 75 74 20 73 74 6f |uide".--| put sto|
|00006220| 72 31 20 69 6e 74 6f 20 | 63 64 20 66 6c 64 20 22 |r1 into |cd fld "|
|00006230| 73 74 6f 72 31 22 0d 2d | 2d 20 70 75 74 20 73 74 |stor1".-|- put st|
|00006240| 6f 72 32 20 69 6e 74 6f | 20 63 64 20 66 6c 64 20 |or2 into| cd fld |
|00006250| 22 73 74 6f 72 32 22 0d | 2d 2d 20 70 75 74 20 73 |"stor2".|-- put s|
|00006260| 74 6f 72 33 20 69 6e 74 | 6f 20 63 64 20 66 6c 64 |tor3 int|o cd fld|
|00006270| 20 22 73 74 6f 72 33 22 | 0d 0d 73 6f 72 74 4e 65 | "stor3"|..sortNe|
|00006280| 77 49 6e 64 65 78 0d 65 | 6e 64 20 74 65 73 74 0d |wIndex.e|nd test.|
|00006290| 0d 6f 6e 20 73 6f 6d 65 | 74 68 69 6e 67 0d 70 75 |.on some|thing.pu|
|000062a0| 74 20 63 64 20 66 6c 64 | 20 22 73 74 6f 72 31 22 |t cd fld| "stor1"|
|000062b0| 20 26 20 72 65 74 75 72 | 6e 20 26 20 63 64 20 66 | & retur|n & cd f|
|000062c0| 6c 64 20 22 73 74 6f 72 | 32 22 20 26 20 72 65 74 |ld "stor|2" & ret|
|000062d0| 75 72 6e 20 26 20 c2 0d | 63 64 20 66 6c 64 20 22 |urn & ..|cd fld "|
|000062e0| 73 74 6f 72 33 22 20 69 | 6e 74 6f 20 74 68 65 4c |stor3" i|nto theL|
|000062f0| 69 73 74 0d 70 75 74 20 | 74 68 65 20 6e 75 6d 62 |ist.put |the numb|
|00006300| 65 72 20 6f 66 20 6c 69 | 6e 65 73 20 69 6e 20 74 |er of li|nes in t|
|00006310| 68 65 4c 69 73 74 20 69 | 6e 74 6f 20 74 68 65 6c |heList i|nto thel|
|00006320| 65 6e 0d 70 75 74 20 6c | 69 6e 65 20 31 20 74 6f |en.put l|ine 1 to|
|00006330| 20 35 30 30 20 6f 66 20 | 74 68 65 4c 69 73 74 20 | 500 of |theList |
|00006340| 69 6e 74 6f 20 63 64 20 | 66 6c 64 20 22 73 74 6f |into cd |fld "sto|
|00006350| 72 31 22 0d 70 75 74 20 | 6c 69 6e 65 20 35 30 31 |r1".put |line 501|
|00006360| 20 74 6f 20 31 30 30 30 | 20 6f 66 20 74 68 65 4c | to 1000| of theL|
|00006370| 69 73 74 20 69 6e 74 6f | 20 63 64 20 66 6c 64 20 |ist into| cd fld |
|00006380| 22 73 74 6f 72 32 22 0d | 70 75 74 20 6c 69 6e 65 |"stor2".|put line|
|00006390| 20 31 30 30 31 20 74 6f | 20 74 68 65 6c 65 6e 20 | 1001 to| thelen |
|000063a0| 6f 66 20 74 68 65 4c 69 | 73 74 20 69 6e 74 6f 20 |of theLi|st into |
|000063b0| 63 64 20 66 6c 64 20 22 | 73 74 6f 72 33 22 0d 2d |cd fld "|stor3".-|
|000063c0| 2d 0d 70 75 74 20 63 64 | 20 66 6c 64 20 22 6e 61 |-.put cd| fld "na|
|000063d0| 6d 65 20 6c 69 73 74 31 | 22 20 26 20 72 65 74 75 |me list1|" & retu|
|000063e0| 72 6e 20 26 20 63 64 20 | 66 6c 64 20 22 6e 61 6d |rn & cd |fld "nam|
|000063f0| 65 20 6c 69 73 74 32 22 | 20 26 20 72 65 74 75 72 |e list2"| & retur|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.